Is there a function that allows you not to see the +?

I use : ->createOptionForm( TestResource::getFormSchema() ) ->createOptionAction(function (Action $action) { return $action ->modalHeading('blabla') ->modalButton('blabla') ->modalWidth('2xl'); })->visibleOn('') ->createOptionUsing(function ($data) { $company = Test::create($data); return $test->id; }) I'd like to define a condition for displaying the + or not.
2 Replies
Dan Harrin
Dan Harrin2y ago
if you return an empty array for createOptionForm it wont show
Becker Maxime
Becker MaximeOP2y ago
thank you for carrying me kisses
Want results from more Discord servers?
Add your server