fk
fk
FFilament
Created by fk on 3/12/2025 in #❓┊help
How to keep a modal open after submitting
not sure if it's a proper way or not. but i managed to make it work by
->action(function (array $data, array $arguments, Actions\Action $action, Form $form) {
...
if ($arguments['another'] ?? false) {
// Reset the form and don't close the modal
$form->fill();
$action->halt();
}
}
->action(function (array $data, array $arguments, Actions\Action $action, Form $form) {
...
if ($arguments['another'] ?? false) {
// Reset the form and don't close the modal
$form->fill();
$action->halt();
}
}
3 replies