Space in Header/Body Class in Toasts Triggers Error

Wappler Version : 6.7.2
Operating System : Win11
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: Dedicated Server

Expected behavior

What do you think should happen?

Toasts should work when custom header and body classes have spaces. These toasts were working in 6.7.1

Actual behavior

What actually happens?

The toasts stop working, and the following error is generated:

Removing the spaces and only having a single class resolves the issue but is not ideal

How to reproduce

Create a toast, then trigger it with a button action and set the header and body to have multiple CSS classes, like this:

@patrick Also, the HTML checkbox is selected but <br> is not recognised:


Here the fix for duplicate classes: (4.6 KB)

1 Like

Thanks @patrick the CSS is fixed but it still does not recognise <br> as mentioned above - this is what I see now:



New update: (4.6 KB)

1 Like

That's perfect - thank you :beer:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

Fixed in Wappler 6.7.3

1 Like