Hi,
I have added in 3 buttons named Day,Week and Month, On click of the Day and week view i am showing the 'daypilot-calendar' component and on click of Month i am using the 'daypilot-month' component, It works fine if i show and hide it based on the selected button,
But if in week view i open the popup to create new event and then create it event get created successfully but after that when i switched to month view its not working and it give following error
Subscriber.js:247 Uncaught TypeError: Cannot read property 'id' of undefined
at eval (daypilot-angular.min.js:15)
at DayPilot.Calendar.jb (daypilot-angular.min.js:15)
at DayPilot.Calendar.gd (daypilot-angular.min.js:17)
at DayPilot.Calendar.update (daypilot-angular.min.js:17)
at t.ngDoCheck (daypilot-angular.min.js:32)
I searched some forum, Found that there is control like DayPilot.Switcher in javascript (As mentioned in https://code.daypilot.org/27988/html5-calendar-with-day-week-month-views-javascript-php ), But seems like it not available in the Angular4, Is there are other alternative to achieve it in angular4
Thanks in advance..