In filament simple resource how i use "getCreatedNotification" ? and update time "getSavedNotificat
How i do this ?
4 Replies
What's your question
@JJSanders
if i am use make:filament-resource Customer --simple then i have one resource file and i am not override notification as my won requirement when create or update.
if i am use make:filament-resource Customer --generate then i have create , list edit page and i easyly handle notification as my requirement .using this getCreatedNotification() and getSavedNotificat().
my question is how i do as like this when i use make:filament-resource Customer --simple
You can edit the notification in --single on the CreateAction on top right on ListRecords :
CreateAction::make()
->successNotification(fn() => ...)
Because all the controls of the modal are on this Action. Width, notification, ...