ui-calendar
ui-calendar copied to clipboard
Show calendar in a bootstrap modal
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 ?
I have same problem, calendar dont render in my modal when I do click in a button that show it