ziolupo
Explore posts from serversTLCTuto's Laravel Corner
•Created by ziolupo on 1/26/2024 in #💡filament
Simple (modal) resource and mutateFormDataBeforeSave()
Thanks to your suggestion I was able to fine the right way.
My SimpleResource is called Task and in the 'ManageTasks.php' file I added:
The above function take care of inserting the user_id during the creation process.
Then I did the same in TaskResource taking care of the saving process:
Thank you so much!
5 replies