Skip to content

Commit f55e58e

Browse files
author
Kevin
committed
Eslint errors
1 parent 96489d1 commit f55e58e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/fields/abstractField.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@ export default {
163163
}
164164

165165
if (
166-
(this.schema.validation && this.schema.validation === 'onBlur') ||
167-
(!this.schema.validation && objGet(this.formOptions, 'validateAfterBlur', false) === true)
166+
(this.schema.validation && this.schema.validation === "onBlur") ||
167+
(!this.schema.validation && objGet(this.formOptions, "validateAfterBlur", false) === true)
168168
) {
169169
if (this.errors && this.errors[0]) {
170-
this.validateSchemaField()
170+
this.validateSchemaField();
171171
}
172172
} else if (
173-
(this.schema.validation && this.schema.validation === 'onChanged') ||
174-
(!this.schema.validation && objGet(this.formOptions, 'validateAfterChanged', false) === true)
173+
(this.schema.validation && this.schema.validation === "onChanged") ||
174+
(!this.schema.validation && objGet(this.formOptions, "validateAfterChanged", false) === true)
175175
) {
176-
this.validateSchemaField()
176+
this.validateSchemaField();
177177
}
178178
}
179179
},

src/formGenerator.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default {
132132
methods: {
133133
onBlur(value, model) {
134134
if(objGet(this.options, "validateAfterBlur", false)) {
135-
this.validateModelField(model)
135+
this.validateModelField(model);
136136
}
137137
},
138138
@@ -156,7 +156,7 @@ export default {
156156
// Remove old child errors
157157
Object.keys(this.errors)
158158
.filter((key) => {
159-
return this.errors[key].field.model === child.field.model
159+
return this.errors[key].field.model === child.field.model;
160160
})
161161
.forEach(key => delete this.errors[key]);
162162

0 commit comments

Comments
 (0)