Skip to content
Discussion options

You must be logged in to vote

Hi @lovelyarora24 I ever asked this question before, about insert to another table from 1 form, they suggested me to use "model event" or "extend the insert operation", check this out, maybe the best one is to use model event
https://backpackforlaravel.com/docs/5.x/release-notes#use-model-events-inside-crudcontrollers

also, I have another opinion, maybe I need to make my own custom operation to handle this unique case, this is the best for me, so far
https://backpackforlaravel.com/docs/5.x/crud-operations#creating-a-custom-operation-1

this is the example of how we do that custom operation but still use the great power field from backpack
https://backpackforlaravel.com/articles/tutorials/h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tabacitu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants