Test editOptionForm
Hey everyone. I want to test my form that it is filled with the given data. But when I run the test I always get this error
Filament\Forms\Components\Select::getEditOptionActionFormData(): Return value must be of type array, null returned
How can I fix this? Dont see anything in de docs about editOptionForm testing. When I remove the editOptionForm from the form, the test is passed.
This is my test in pest
3 Replies