In which file should I put customized toast notification?
I want a custom message to pop in the "toast" little info window when an item is created.
However, I don't know where to put it, in which file. Again, this is something I struggle a lot with in Filament and I think this could be improved by providing perhaps more real world examples with real files with real names - just an idea.
Anyway, I have found this https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create and
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-the-save-notification but I don't know where to put this code:
I am using the standard resource and it is happening in CreateUser.php? I am not sure.
Thanks for any advice where to put that code.
However, I don't know where to put it, in which file. Again, this is something I struggle a lot with in Filament and I think this could be improved by providing perhaps more real world examples with real files with real names - just an idea.
Anyway, I have found this https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create and
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-the-save-notification but I don't know where to put this code:
I am using the standard resource and it is happening in CreateUser.php? I am not sure.
Thanks for any advice where to put that code.