Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanitizing HTML stripped some content #1703

Open
xadan1 opened this issue Dec 6, 2023 · 1 comment
Open

sanitizing HTML stripped some content #1703

xadan1 opened this issue Dec 6, 2023 · 1 comment

Comments

@xadan1
Copy link

xadan1 commented Dec 6, 2023

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)

@matts-bot
Copy link

matts-bot bot commented Dec 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant