Notifications works when triggered on mount() but not when triggered on submit()?
Hi! I'm stuck on showing notifications in the panel builder. I'm trying to show a notification to the user to inform them that no results are found for their search query. Using the following approach on a custom page:
The notification is never shown but when I uncomment the
Thanks in advance!
The notification is never shown but when I uncomment the
dd() this is executed as expected. The weird thing is that the notifications seem to work fine on the mount() function. The following snippets shows a notification when re-loading the page:Thanks in advance!