Modal from an extra footer action to bind with modal form?
Is there a way make modal extra footer action to work with modal the modal form in terms of validation and form data access. The point is to be able to trigger confirmation after filling the modal form before action.
Action::make('edit')
->form([
// ...
])
->extraModalFooterActions([
Action::make('submit')
->requiresConfirmation()
->action(function () {
// $data
}),
])Solution
Sorry guess I’m just not fully following the use case. Is this what you are trying to achieve: https://filamentphp.com/docs/3.x/actions/modals#opening-another-modal-from-an-extra-footer-action