Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Show calendar in a bootstrap modal #524

Open
mkgn opened this issue Dec 5, 2017 · 1 comment
Open

Show calendar in a bootstrap modal #524

mkgn opened this issue Dec 5, 2017 · 1 comment

Comments

@mkgn
Copy link

mkgn commented Dec 5, 2017

I am using AngularStrap library to show modals. Within that I show the calendar. My config is;

$scope.uiConfig = {
calendar: {
height: 450,
editable: true,
views: {
listDay: { buttonText: 'list day' },
listWeek: { buttonText: 'list week' },
listYear: { buttonText: 'list year' }
},
header: {
left: 'prev,next today',
center: 'title',
right: 'listYear,listDay,listWeek,month'
},
eventClick: $scope.alertEventOnClick,
select: function (start, end, jsEvent, view) {
console.log(start + ' ' + end);
},
loading: function (bool) {
console.log("loading");
}
}
};
`
Calendar renders fine. However none of the events get fired! The example I have followed are the same one in the site. Have any one tried to show this calendar in a modal ?

@josegoyo
Copy link

I have same problem, calendar dont render in my modal when I do click in a button that show it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants