When using createOptionForm() I can not store the record.
I am using
createOptionForm()
and I don't have a relationship to add. therefore, I tried to call createOptionUsing()
but I am unable to get the form states.
How can I access fields states of createOptionForm() ?1 Reply
Use it with
createOptionUsing(function (array $data) {})
. You can retrieve the form entries there and do what you plan