FilamentF
Filament12mo ago
prouse_

Close modal inside afterStateUpdated in form

I have modal with a form that contains just a Select Field. I would like the modal to automatically close after the user has selected the select field. Instead of the user having to press submit.

How can I achieve this? I have tried injecting the Action into afterStateUpdated but that does not work.
Was this page helpful?