We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d8da6 commit 0924a29Copy full SHA for 0924a29
lib/matestack/ui/vue_js/components/form/form.js
@@ -43,12 +43,13 @@ const componentDef = {
43
resetErrors: function (key) {
44
if (this.errors[key]) {
45
delete this.errors[key];
46
+ Vue.set(this.errors);
47
}
48
if (this.isNestedForm){
49
var serverErrorKey = this.props["fields_for"].replace("_attributes", "")+"["+this.nestedFormServerErrorIndex+"]."+key
50
if (this.$parent.errors[serverErrorKey]) {
51
delete this.$parent.errors[serverErrorKey];
- Vue.set(this.$parent.errors)
52
+ Vue.set(this.$parent.errors);
53
54
55
},
0 commit comments