1π
β
I figured it out after typing all this up, as is tradition.
in the call to submit, you need to have the parentheses on the function name for it to work correctly. I donβt know why, just that it needs to be there.
working:
<q-form
class="q-gutter-md text-body2"
autofocus
@submit="onSubmit()"
>
π€dr b
2π
In Vue 3 composition API there is no this
.
If you remove this
inside the setup method everything should work fine.
π€Roland
Source:stackexchange.com