Open
Description
🚀 feature request
Relevant Package
This feature request is for @angular/formsDescription
The RequiredValidator
does not update its validation status when an input is autofilled in Chrome. This is problematic for users who set up a required username and password input and then conditionally enable the submit button when the inputs are valid. The user sees:
- Page loads
- Inputs are autofilled with username and password
- Submit button is still disabled.
This issue has been filed in the past on the components repo: angular/components#3414, though the change would really have to happen in @angular/forms.
Describe the solution you'd like
@angular/cdk has an AutofillMonitor
that could be moved to @angular/forms and used to detect when an input is autofilled.
Describe alternatives you've considered
It is possible to monkey patch a solution, as @kherock demonstrated on the components issue.