I am using a form in a UDModal is there a way to add a cancel button?
You could add a new button and put Hide-UDModal
in the -OnClick
handler.
But when I do that the buttons don’t line up nicely
True. Maybe we need to add a Cancel to UDForm and that would clear\reset the form and then allow you to do stuff like close a modal.
That would be perfect and make the form much more useful.