Replies: 2 comments 1 reply
-
Change the AlertDialogAction type to "button" from "submit" since it's a button, and pass an onClick function to it and perform your validation in the handle submit function, this will prevent the alert dialog from closing, hope this helps |
Beta Was this translation helpful? Give feedback.
1 reply
-
did u find any solution |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
is there a way to prevent the AlertDialogAction close the modal if the forms field are not filled?
Beta Was this translation helpful? Give feedback.
All reactions