Cleave.js: Month Autocomplete

Created on 12 Jul 2016  路  3Comments  路  Source: nosir/cleave.js

I just found your project, so I haven't had time to dive into contributing just yet. I'd like to make a feature request specific to any entries which directly affect date month attributes.

If the user types anything larger than a "1" it should automatically prefix it with a zero. Just from a UX perspective, when are they ever going to type any month larger than 12?

Few examples

"2" -> "02"
"1" -> "1" (no change)
"6" -> "06"
"12" -> "12" (no change)

bug resolved

Most helpful comment

Yes, that's a good point. It could also apply to day attributes.

"4" -> "04"
"3" -> "3" (no change)

All 3 comments

Yes, that's a good point. It could also apply to day attributes.

"4" -> "04"
"3" -> "3" (no change)

FYI, I'm on it.

Published, thanks guys.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yardz picture yardz  路  6Comments

YanikCeulemans picture YanikCeulemans  路  3Comments

dan-kez picture dan-kez  路  5Comments

gundlev picture gundlev  路  6Comments

mrozado picture mrozado  路  3Comments