Is there default way to display error/message upon redirect ?
I'm new to filament and geting back to laravel after a few years ( stuck on old 5.6 php projects ).
I innoctently tried this line:
Correctly redirected but nothing was of course displayed...
Solution:Jump to solution
Depends on how you have structured your Filament/Laravel pages but you may need to manually show custom errors from session('error') in Blade
3 Replies
Solution
Depends on how you have structured your Filament/Laravel pages but you may need to manually show custom errors from session('error') in Blade
Filament can't automatically guess that there is an 'error' variable and magically show it for you, someone else may call it 'message' or 'notice'
Thanks dude.
That's what I originaly thought.
But as copilot could not stop giving me this example in almost every proposal. I thought it could be something like this existing.
But I guess that's just how most people name their error/message variables^^