F
Filamentβ€’2mo 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....
Jump to solution
4 Replies
Solution
Matthew
Matthewβ€’2mo ago
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.
dissto
disstoβ€’2mo ago
maybe worth a PR for the docs on the right places πŸ€“
Matthew
MatthewOPβ€’2mo ago
Seems to be alot of outstanding PR's, suspect when v4 lands, they'll be some updates to docs required anyway...
Want results from more Discord servers?
Add your server