mutateFormDataBeforeCreate on wizard

I am trying to add a "from_user_id" to $data via mutateFormDataBeforeCreate(). I can dump $data before the creation and it shows "from_user_id" in the array with the correct user id. When I repeat without the dump, the user id is not saved to the DB.
5 Replies
toeknee
toeknee2y ago
is from_user_id fillable? in the model
nwalty
nwaltyOP2y ago
wow, nope it wasn't.
toeknee
toeknee2y ago
😉
nwalty
nwaltyOP2y ago
Thanks much!
toeknee
toeknee2y ago
Anytime, we have all been there!

Did you find this page helpful?