Skip to content

Commit e7a0ea1

Browse files
author
Kevin
committed
Rename validateOffFocus => validateAfterBlur
1 parent 1266b4b commit e7a0ea1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/fields/abstractField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default {
162162
this.schema.onChanged.call(this, this.model, newValue, oldValue, this.schema);
163163
}
164164

165-
if (objGet(this.formOptions, "validateOffFocus", false) === true) {
165+
if (objGet(this.formOptions, "validateAfterBlur", false) === true) {
166166
if (this.errors && this.errors[0]) {
167167
if (objGet(this.schema, "validateDebounceTime", objGet(this.formOptions, "validateDebounceTime", 0)) > 0) {
168168
this.debouncedValidate();

src/formGenerator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default {
131131
132132
methods: {
133133
onBlur(value, model) {
134-
if(objGet(this.options, "validateOffFocus", false)) {
134+
if(objGet(this.options, "validateAfterBlur", false)) {
135135
this.validateModelField(model)
136136
}
137137
},

0 commit comments

Comments
 (0)