vuelidate validate on submit

Solutions on MaxInterview for vuelidate validate on submit by the best coders in the world

showing results for - "vuelidate validate on submit"
Tessa
21 Jan 2020
1form: {
2"name": {
3"required": false,
4"$invalid": true,
5"$dirty": false,
6"$error": false,
7"$pending": false,
8"$params": {
9  "required": {
10    "type": "required"
11  }
12}
13},
14"Age": {
15  "required": false,
16  "$invalid": true,
17  "$dirty": false,
18  "$error": false,
19  "$pending": false,
20  "$params": {
21    "required": {
22      "type": "required"
23    }
24  }
25},
26"$invalid": true,  <------- This is what you are after for valid/invalid
27"$dirty": false,   <------- This is what you are after to see if the form has been used.
28"$error": false,  <-------  This checks both invalid and dirty
29"$pending": false,
30"$params": {
31   "nestedA": null,
32   "nestedB": null
33}
34}