Angular 2 and browser autofill
The problem in Chrome browser: it does not allow access to the value of the password field after autofill (before user click on the page). So, there are two ways:
- remove validation of the password field;
- disable password autocompletion.
I found out that you can use autocomplete="new-password"
As is decribed here
This way your password fields will not be autofilled at all, and that was my case. There are many others autocomplete attributes available in the link above.