Skip to content

Commit 0f79d51

Browse files
author
Craig Hofman
committed
Return entire VFG instance with validation event
1 parent cbfee9c commit 0f79d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/formGenerator.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ div.vue-form-generator(v-if='schema != null')
307307
}
308308
309309
let isValid = this.errors.length == 0;
310-
this.$emit("validated", isValid, this.errors, this._uid);
310+
this.$emit("validated", isValid, this.errors, this);
311311
},
312312
313313
// Validating the model properties
@@ -328,7 +328,7 @@ div.vue-form-generator(v-if='schema != null')
328328
});
329329
330330
let isValid = this.errors.length == 0;
331-
this.$emit("validated", isValid, this.errors, this._uid);
331+
this.$emit("validated", isValid, this.errors, this);
332332
return isValid;
333333
},
334334

0 commit comments

Comments
 (0)