-
Probably a silly question, but it seems the mask for the year allows 6 digits. This can be seen on the online demo page. Can that be changed with a property or setting to be limited to four digits? |
Beta Was this translation helpful? Give feedback.
Answered by
wojtekmaj
May 9, 2023
Replies: 1 comment
-
Sure! Technically, year 123456 is totally valid, only in a very distant future. Just set maxDate to any Date with 4-digit year you like, and it will accept 4 digits only :) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wojtekmaj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure! Technically, year 123456 is totally valid, only in a very distant future. Just set maxDate to any Date with 4-digit year you like, and it will accept 4 digits only :)