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
Which @angular/* package(s) are the source of the bug?
forms
Is this a regression?
No
Description
When any of form directives like [formGroup], [formControl] etc.., are used then validity of forms is updated but no information of it is present as no events are executed.
using setTimeout to setError also works.
It is possible that attaching form directives caues validators to run and thus reseting errors but still I would expect to see status change event at least.
Please provide a link to a minimal reproduction of the bug
this.form.statusChanges method works when form status is changed. here form status is not changing even after onChange event. So you have to provide at least one validation in new FormControl(0,[ ]) , so that formControl and form validation state will be changed accordingly. then textBox change event will work
Which @angular/* package(s) are the source of the bug?
forms
Is this a regression?
No
Description
When any of form directives like
[formGroup]
,[formControl]
etc.., are used then validity of forms is updated but no information of it is present as no events are executed.using setTimeout to setError also works.
It is possible that attaching form directives caues validators to run and thus reseting errors but still I would expect to see status change event at least.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/~/github.com/kbrilla/angualr-error-setErrors
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: