mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 866 forks source link

WARNING: sanitizing HTML stripped some content #1700

Closed xadan1 closed 10 months ago

xadan1 commented 10 months ago

When I click on each action event, occasionally the command associated with the action event (either edit or delete) is not executed. At the same time, the console displays the warning "sanitizing HTML stripped some content". my question is: is it possible to associate DomSanitizer to html in the action tag? Keep in mind that I am working under angular 16.

Example (Event "IngresarInformacionAgenda" and "mensajeConfirmacioEliminar" contains a prime messageservice events ):

actions: CalendarEventAction[] = [ { label: '', a11yLabel: 'Edit', onClick: ({ event }: { event: CalendarEvent }): void => { //this.handleEvent('Edited', event); this.ingresarInformacionAgenda(event); }, }, { label: '', a11yLabel: 'Delete', onClick: ({ event, sourceEvent }: { event: CalendarEvent, sourceEvent: MouseEvent }): void => { this.mensajeConfirmacioEliminar(sourceEvent, event); }, }, ];

matts-bot[bot] commented 10 months ago

This issue has been closed automatically as it did not follow the issue template, please open a new issue that follows the bug report or feature request template.

Thank you! ✌️