Skip to content

Commit

Permalink
fix(mapField): added hasErrors computed missing property
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaTuci committed Jul 11, 2024
1 parent aed3c05 commit 36e9049
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default {
// V-model property.
value: {
type: Array,
default: () => [],
},
// This label will be shown at the top of the editor.
label: String,
Expand Down Expand Up @@ -325,6 +326,7 @@ export default {
hasTemplates() {
return typeof this.fields == "object" && !Array.isArray(this.fields);
},
hasErrors () { return this.errorMessages && this.errorMessages.length },
templates() {
const templates = {};
if (this.hasTemplates) {
Expand Down

0 comments on commit 36e9049

Please sign in to comment.