I have a Login Form which has email and password fields.
I\'ve chosen for browser autofill.
The problems is: When browser autofills login form, both fields are p
I solved this problem with the ChangeDetectorRef
Provider.
Simply do a manual detectChanges()
before you check if the input is valid.
If you aren't able to check after a button click, then hear on the Input-Event of the Input-Element with the event-binding (input)=changedetectorfunc()
and call the changeDetector
in this function.
Therefore it must work.
Hope, it helps you.
useful links:
Best wishes