mercredi 13 février 2019

How to show a Bootstrap notification / toast (MDBootstrap) after Laravel return an error

I'm doing a small project in the style of Instagram but with basic features.

Showing my design

I am making the form to edit personal information. Which is valid using Laravel, I want that when Laravel returns an error of the form it shows a "Toast Notification" of error in the page of the form.

These "toast" notifications are triggered by clicking on a button, they have no body in the HTML, they are ready to be used when u call them.

showing "toast notification"

What can I do to detect an error, trigger this "toast" without having to press a button? Thank you



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire