@leanix/components 0.4.721 → 0.4.723
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6407,6 +6407,10 @@ class FormErrorComponent {
|
|
|
6407
6407
|
this.formSubscription = this.form.valueChanges.subscribe(() => {
|
|
6408
6408
|
this.translationKeys = this.getTranslationKeys();
|
|
6409
6409
|
});
|
|
6410
|
+
// Subscribe to status changes, as form errors can be set programmatically without value changes.
|
|
6411
|
+
this.formSubscription = this.form.statusChanges.subscribe(() => {
|
|
6412
|
+
this.translationKeys = this.getTranslationKeys();
|
|
6413
|
+
});
|
|
6410
6414
|
}
|
|
6411
6415
|
ngOnChanges(_changes) {
|
|
6412
6416
|
this.translationKeys = this.getTranslationKeys();
|