F
Filament2mo ago
ecoy

Can't keep modal open

In the filament php docs there is this thing if ($arguments['another'] ?? false) { // Reset the form and don't close the modal } how can I not close the modal?
3 Replies
toeknee
toeknee2mo ago
That is save and create another... so it blanks the form, is that what you want?
ecoy
ecoyOP2mo ago
yes I want that action how can I customly define it?
toeknee
toeknee2mo ago
No need to custom define it.. just add it to the Create Action:
->createAnother(true)
->createAnother(true)

Did you find this page helpful?