From 3c32cfc05b0dc22be2d0036f9e74d3d42a3a2cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 2 Oct 2019 16:22:25 +0200 Subject: [PATCH] Make property reactive --- .../ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue | 2 +- .../ep_theme/Resources/Private/Assets/js/myep/Registration.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue index 22ba82b8..36d67fc5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue @@ -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); } } }); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Registration.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Registration.vue index 579fb715..6b78f6ca 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Registration.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Registration.vue @@ -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); } }); }