Closed tehshaz closed 4 years ago
Try
<v-form @submit.prevent>
this works for me, but maybe is there a better solution out there!
This definitely works, thank you. The issue is then it kills the ability to have both a btn-toggle and submit button. A work around of course, is to build a function for submit manually.
You can control the submit event in handleSubmit method
<v-form @submit.prevent="handleSubmit">
Hello, when I wrap the v-form-base in a v-form tag any btn or btn-toggle in for the form acts as a submit and refreshes the page. This prevents me from using a btn-toggle as an option select in a form. It of course works great if you do not use the v-form tag because there is nothing to submit.
Here is an example config.