fix: added deep option for watch on mergedFieldErrors
This commit is contained in:
parent
f2d3fcd217
commit
9ae0e4e859
@ -78,7 +78,7 @@ export default class FormularioForm extends Vue {
|
|||||||
this.errorObserverRegistry.filter(o => o.type === 'form').observe(errors)
|
this.errorObserverRegistry.filter(o => o.type === 'form').observe(errors)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Watch('mergedFieldErrors', { immediate: true })
|
@Watch('mergedFieldErrors', { deep: true, immediate: true })
|
||||||
onMergedFieldErrorsChanged (errors: Record<string, string[]>): void {
|
onMergedFieldErrorsChanged (errors: Record<string, string[]>): void {
|
||||||
this.errorObserverRegistry.filter(o => o.type === 'input').observe(errors)
|
this.errorObserverRegistry.filter(o => o.type === 'input').observe(errors)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user