You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ngxFormErrors] directive expects to receive a formControlName. Based on this form control name, it gets the FormControl from the FormGroupDirective (parent ForrmGroup).
The directive cannot receive a FormControl instead of a control name.
Expected behavior
Give the ability to pass a FormControl or a FormControlName depending on the case.
What is the motivation / use case for changing the behavior?
Improving the library.
The text was updated successfully, but these errors were encountered:
🚀 Feature request
Current behavior
[ngxFormErrors]
directive expects to receive aformControlName
. Based on this form control name, it gets theFormControl
from theFormGroupDirective
(parentForrmGroup
).The directive cannot receive a
FormControl
instead of a control name.Expected behavior
Give the ability to pass a
FormControl
or aFormControlName
depending on the case.What is the motivation / use case for changing the behavior?
Improving the library.
The text was updated successfully, but these errors were encountered: