From 9ae0e4e859f42d462c41bd5b44b77db20be0d6f4 Mon Sep 17 00:00:00 2001 From: 1on Date: Wed, 28 Oct 2020 15:43:42 +0300 Subject: [PATCH] fix: added deep option for watch on mergedFieldErrors --- src/FormularioForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormularioForm.vue b/src/FormularioForm.vue index eea8872..3935375 100644 --- a/src/FormularioForm.vue +++ b/src/FormularioForm.vue @@ -78,7 +78,7 @@ export default class FormularioForm extends Vue { this.errorObserverRegistry.filter(o => o.type === 'form').observe(errors) } - @Watch('mergedFieldErrors', { immediate: true }) + @Watch('mergedFieldErrors', { deep: true, immediate: true }) onMergedFieldErrorsChanged (errors: Record): void { this.errorObserverRegistry.filter(o => o.type === 'input').observe(errors) }