Save relationship with pivot attributes/columns
I need some help.
How can i conditionally fill the pivot attribute/column when creating a Model from Select field using the createOptionForm.
here is what i am trying.
When the relationship is saved, I need to set the is_approved column set to true/false based on a condition.
Thanks.
How can i conditionally fill the pivot attribute/column when creating a Model from Select field using the createOptionForm.
here is what i am trying.
When the relationship is saved, I need to set the is_approved column set to true/false based on a condition.
Thanks.