diff --git a/src/fields/abstractField.js b/src/fields/abstractField.js index b6019ad3..297704ef 100644 --- a/src/fields/abstractField.js +++ b/src/fields/abstractField.js @@ -31,7 +31,7 @@ export default { return { errors: [], debouncedValidateFunc: null, - debouncedFormatFunction: null + debouncedFormatFunc: null }; }, diff --git a/src/formGenerator.vue b/src/formGenerator.vue index 054e42e7..aa10fffc 100644 --- a/src/formGenerator.vue +++ b/src/formGenerator.vue @@ -2,7 +2,7 @@ div.vue-form-generator(v-if='schema != null') fieldset(v-if="schema.fields", :is='tag') template(v-for='field in fields') - form-group(v-if='fieldVisible(field)', :vfg="vfg", :field="field", :errors="errors", :model="model", :options="options", @validated="onFieldValidated") + form-group(v-if='fieldVisible(field)', :vfg="vfg", :field="field", :errors="errors", :model="model", :options="options", @validated="onFieldValidated", @model-updated="onModelUpdated") template(v-for='group in groups') fieldset(:is='tag', :class='getFieldRowClasses(group)')