How do I add data to two tables in one form submission using filament?
Hello @all ,
Im looking for the best practice to handle two models create/update in one form submission noting that the second model is belongs to the first one.
Thanks
Solution:Jump to solution
if you are using resources, you can use
handleRecordCreation
/ handleRecordUpdate
https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-the-creation-process...4 Replies
@Dennis Koch
Solution
if you are using resources, you can use
handleRecordCreation
/ handleRecordUpdate
https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-the-creation-processand please don't
@tag
members.. check the #✅┊rules before posting..thank you
noted