Make property reactive

This commit is contained in:
Björn Fromme committed 2019-10-02 16:22:25 +02:00
1 parent b1359611a6
commit 3c32cfc05b
2 files changed
+2 -2

No files matched your search

@@ -124,7 +124,7 @@
const violations = error.response.data.violations;
if (typeof violations !== 'undefined') {
for (let violation of violations) {
this.formErrors[violation.property_path] = violation.message;
this.$set(this.formErrors, violation.property_path, violation.message);
}
}
});
@@ -95,7 +95,7 @@
}).catch(error => {
const violations = error.response.data.violations;
for (let violation of violations) {
this.formErrors[violation.property_path] = violation.message;
this.$set(this.formErrors, violation.property_path, violation.message);
}
});
}