I am using angular material/mat-datepicker in my project and whenever the user enters one digit inside of it, and goes out of focus - the date picker is auto completing with a random date.
Just enter 1
and go out of focus, or enter 5/5/20
The date picker is adding date automatically
Update: Also I am using reactive forms and I'm validating the input with that approach
Can I disable this ?
I know this is too late to answer this question. But, I had also faced the same kind of issue with reactive forms and disable the MatDatePicker autocomplete in the following way.
Create the following 'toFormattedDate' method in your component.