search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

ERROR Error: DayPilot.Scheduler: The placeholder element not found: 'dp_158159830263098078'.

Asked by Vlad
2 years ago.

If I want my daipilot sheduler to appear dynamically when I press a button, what do I need to do?
Because now I get an error

Answer posted by Dan Letecky [DayPilot]
2 years ago.

You can use *ngIf on the <daypilot-scheduler> element:

<daypilot-scheduler [config]="config" [events]="events" #scheduler *ngIf="visible"></daypilot-scheduler>

You can also create the component dynamically using createComponent():

Comment posted by Emmy
2 years ago.

Thank you

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.