angular-calendar icon indicating copy to clipboard operation
angular-calendar copied to clipboard

sanitizing HTML stripped some content

Open xadan1 opened this issue 1 year ago • 1 comments
trafficstars

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)

xadan1 avatar Dec 06 '23 12:12 xadan1

Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me

matts-bot[bot] avatar Dec 06 '23 12:12 matts-bot[bot]