Add custom Select options to formFill
Add custom Select options to formFill
I have a bulkAction form modal that should allow for the status field to be changed, but the "options" should be limited based on a transition table, which defines which status can transition into which "next" status.
So the user cannot hop from one to all others.
I have the array for the options added in the form->fill(), but I cannot for the life of me figure out, how to access these to put them into the ->options() of the Select in the form itself.
So basically, where is the data that I put into the formFill?
Thanks in advance!
0 Replies