[Vuejs]-Vue + Vuetify submitting form with GET method passes empty values

0👍

Lets simplify your code

Instead of calling validate() on button click, you can add type="submit" to your button and in your form you can add @submit:prevent="validate". This doesn’t solve the problem but allows you to submit with Enter and every submit button will trigger the validation.

Now for the solution

1- To navigate to external scope you can use windows.open(). Vuetify lets you navigate to an url but you had to put href on your button and control it manually

windows.open('http://someurl.com/')

CodePen

Vuetify vee-validate docs

Javacript standards say that you should use camelCase for js variables (this.propertyType)

JS standard

ESlint Rules

Leave a comment