@leanix/components 0.4.9 → 0.4.11
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.
|
@@ -4966,7 +4966,7 @@ class FormErrorComponent {
|
|
|
4966
4966
|
this.formSubscription.unsubscribe();
|
|
4967
4967
|
}
|
|
4968
4968
|
getTranslationKeys() {
|
|
4969
|
-
const formControl = this.form.
|
|
4969
|
+
const formControl = this.form.get(this.controlName);
|
|
4970
4970
|
if (formControl && formControl.errors) {
|
|
4971
4971
|
return Object.keys(formControl.errors).map((errorKey) => `${this.namespace}.errors.${this.controlName}.${errorKey}`);
|
|
4972
4972
|
}
|