q-form validation is not triggered on submit #13459
Unanswered
verbowersock
asked this question in
General - Components / Directives / etc
Replies: 1 comment 2 replies
-
|
I figured out that since the form is in a popup I had to add @click to the onSubmit and now it works, kind of. The validation happens successfully, however, I still get an error in the console after pressing submit and closing the popup. Uncaught (in promise) TypeError: Cannot read properties of null (reading 'validate'). |
Beta Was this translation helpful? Give feedback.
2 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.
-
I am having issues with triggering validation on submit on a very simple form. All i need is to make fields required, but submit just closes the form. Nothing even gets logged to the console. Can someone point me in the right direction? I checked the docs and numerous tutorials but can't make it work.
Beta Was this translation helpful? Give feedback.
All reactions