Modal submit handle error
Closed this issue · 1 comments
DavidShefcik commented
When a modal is submitted we should have some way to prevent the modal from being closed. For example, when you have a form in the modal that gets submitted when the ok button is clicked but the form validation fails, prevent the modal from being closed and show the form errors.
DavidShefcik commented
Pass a function to the onSubmit
and onCancel
functions that would get called to hide the modal