Angular-calendar: bug while using custom template for openDayEventsTemplate

Created on 22 Jan 2019  路  7Comments  路  Source: mattlewis92/angular-calendar

Describe the bug

the events are being populated in all the rows while using custom template.

Minimal reproduction of the problem with instructions

(eventClicked)="handleEvent('Clicked', $event.event)" (eventTimesChanged)="eventTimesChanged($event)">



test

</ng-template>

Screenshots
50655440_590880728022222_4968931150316699648_n

Versions

  • @angular/core: 6.0.9
  • angular-calendar: ^0.26.4
  • Browser name and version:

Most helpful comment

Ahh, I see what happened here, I think you might have copied the template from an older issue, please see the latest template source here, here's your example fixed: https://stackblitz.com/edit/angular-jqsjdc-gahtmy?file=demo/component.ts Hope that helps! 馃槃

All 7 comments

Please can you add a runnable stackblitz that reproduces your problem? You can fork a starter from any of the demos pages. Thanks! 馃槃

please check out the stackblitz (https://stackblitz.com/edit/angular-jqsjdc). click on any day with events and you will figure out the issue i was mentioning.

Hi, i am facing the same issue with angular-calendar: ^0.26.0 and @angular/core: 7.1.0

Hi, same here. I just tried to use this custom template and it's the same behavior.
@razeniraj i need to display my events almost the same way you do, what did you use for that ? Thanks.

Hi, same here. I just tried to use this custom template and it's the same behavior.
@razeniraj i need to display my events almost the same way you do, what did you use for that ? Thanks.

Just a little bit of html and css ... :)

Ahh, I see what happened here, I think you might have copied the template from an older issue, please see the latest template source here, here's your example fixed: https://stackblitz.com/edit/angular-jqsjdc-gahtmy?file=demo/component.ts Hope that helps! 馃槃

Ahh, I see what happened here, I think you might have copied the template from an older issue, please see the latest template source here, here's your example fixed: https://stackblitz.com/edit/angular-jqsjdc-gahtmy?file=demo/component.ts Hope that helps! 馃槃

Oh my mistake! Thanks for the help :)

Was this page helpful?
0 / 5 - 0 ratings