Disabling ->createOptionForm
Looks like Filament is interpreting a returning null the same as an empty array.
I have a repeater in a form that allows on-the-fly creation with
->createOptionForm
I would like to disable the Modal Form for existing repeater rows.
In short:
->createOptionForm(null); //hides create form
->createOptionForm( fn($state) => null);// Shows empty form
Not sure if this is a bug in Filament but it prevents any possibility of hiding/disabling the create form.0 Replies