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
if you return an empty array for createOptionForm it wont show
thank you for carrying me kisses