How can i modify a table record column before save (on column input)
I have a toggle column on my table - when i toggle this column like to modify another columns data before the record gets saved to the db. Thanks
3 Replies
maybe ->updateStateUsing(..)
cant find that function on columns. Im just going to settle for an observer on the model
->updateStateUsing()
exists on ToggleColumn.