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:Jump to 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....4 Replies
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.maybe worth a PR for the docs on the right places π€
Seems to be alot of outstanding PR's, suspect when v4 lands, they'll be some updates to docs required anyway...