FilamentF
Filament15mo ago
Matthew

create button on wizard in modal, hide until end

I see some documentation on when a create wizard is used within a create page, about how to render the submit button on the last step.

I can't find anything about when the wizard is within a modal\slideover.

Is it possible to hide the create button until the end ?
Solution
Thanks @dissto for making me revisit this at least.

I thought this strategy only applied to page creates, and modal creates did not respond the same.

In fact, the modal 'Submit' button does appear, but you have to also take action to remove the Create (and Create Another if you are using CreateAction ) from the modal.

I needed to add: ->modalSubmitAction(false)->createAnother(false) to my Action, and now I've got what I was after.

Thanks again.
Was this page helpful?