q-form reset #15536
Unanswered
mr-Sepi0l
asked this question in
General - Components / Directives / etc
q-form reset
#15536
Replies: 1 comment 1 reply
-
|
Please make a codepen |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello there,
I've begin quasar recently for some of my project and I face an issue I don't find any answers or anything in the doc.
I'm having some form in modal. THe form is based on q-form with q-inputs inside.
Everything got submitted via the form for the validation.
So here is my form component line :
<q-form @submit="save" @reset="form.reset()">The
savemethod trigger an ajax call which add a user and emit en event to the parent component to add the user to the list.Two questions:
For context, here is my code.
Form template:
And here is my save function
Am I missing something ?
Beta Was this translation helpful? Give feedback.
All reactions