Validate inputs in modals after MODAL_SUBMIT #5667
Unanswered
giovcastillo
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It would be a very good feature if the application could answer MODAL_SUBMIT events after validating the inputs internally without closing the modal.
Why?
As a modal receives information from an user, it's very common that the user gives wrong and/or unexpected information.
Since the modal only closes when the application responds to the submit event, an event like MODAL_FIELD_ERROR (or any) could be sent with:
This could greatly improve the User Experience with modals because the application doesn't have to close the modal just to edit or create a message with the error and a button to re-open the modal.
PD: Sorry if my grammar is not good. My mother language is Spanish.
Beta Was this translation helpful? Give feedback.
All reactions