Are '' apostrophes really needed in notifications?

I often seen in tutorials here to put your notification text inside 'my notification here' but it looks ugly and awkward at best in a user interface

Screen Shot 2021-02-09 at 11.34.21

They work fine without but I just want to make sure there aren’t any potential problems with this / Wappler isn’t expecting them

If you use single quotes, then you should read the message without quotes.

dmx-on:success="notifies.success('Thank you, your comment has been sent and we will contact you.')"

Thanks @ben. The docs say to not forget the single quotes in the interface which is misleading:

In my case inputing them without quotes in the interface works. In the code they are reflected inside single quotes.

I think this may be a result of the evolution of Wappler.

1 Like

They are no longer needed anywhere in the UI. Wappler adds singles quotes automatically and you don’t need to add them anymore. The tutorial was created with an older version.