Call validation for alpine? #523
QJan84
started this conversation in
4. General
Replies: 1 comment
-
I'm not sure how |
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
-
Hi!
I have problems with the order of my functions.
data-trigger="validate"
starts the validation.component()
is executed first and then the validation script. This is not a good thing because I query the .is--valid class and then send the form.How can I first run validation and then
submitForm()
?Here is my example with a form in a modal:
HTML:
JS:
Beta Was this translation helpful? Give feedback.
All reactions