Forum

vuetify - how to re...
 
Notifications
Clear all

vuetify - how to read all errors (into array)

1 Posty
1 Users
0 Reactions
596 Widok
0
Topic starter

example

1 Answer
0
Topic starter
  const errors = [];
this.$refs.form.inputs.forEach(e => {
if (e.errorBucket && e.errorBucket.length) {
errors.push(...e.errorBucket);
}
},
);
this.errors = errors;

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: