angular-calendar
angular-calendar copied to clipboard
sanitizing HTML stripped some content
Describe the bug
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". i tried to put Domsanitizer into html label action (with hook), but dont work
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); }, }, ];
Versions
"@angular/core": "16.2.0" "angular-calendar": "0.31.0" "tslib": "2.3.0"
"typescript": "5.1.3"
Browser name and version: chrome Version 119.0.6045.199 (Build oficial) (arm64)
Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me