Its possible to add all zeroes in the date month format and it gets accepted as valid e.g with the mask
"M0/d0/0000" the value "00/00/0000" is considered valid. Do you know if this is intended behavior or is this a bug?
I am also having this same problem. Also, if I specifically do the year as 0000 (with month and day correct), it changes the year to 1900 rather than letting me throw it invalid.
🐞 bug report
Is this a regression?
Not sure.
Description
Its possible to add all zeroes in the date month format and it gets accepted as valid e.g with the mask "M0/d0/0000" the value "00/00/0000" is considered valid. Do you know if this is intended behavior or is this a bug?
<input placeholder="MM/dd/YYYY" mask="M0/d0/0000" [dropSpecialCharacters]="false" [leadZeroDateTime]="true" />
🌍 Your Environment
Angular Version: