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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Error for the template above, as there's no errorTailor hosted in <form>.
What is the motivation / use case for changing the behavior?
Currently if we try to use the directive controlErrorAnchor (also in others, but I just tested with controlErrorAnchor) without form, for example, we get no error and it lead us for a difficult debug caused due to a silly mistake. I want to propose a check (probably only in devMode) in this "children" directives in order to avoid losing time with this.
Environment
Angular version: 11.0.0
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
No error for this template:
Expected behavior
Error for the template above, as there's no
errorTailor
hosted in<form>
.What is the motivation / use case for changing the behavior?
Currently if we try to use the directive
controlErrorAnchor
(also in others, but I just tested withcontrolErrorAnchor
) withoutform
, for example, we get no error and it lead us for a difficult debug caused due to a silly mistake. I want to propose a check (probably only indevMode
) in this "children" directives in order to avoid losing time with this.Environment
The text was updated successfully, but these errors were encountered: