RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.39k stars 2.17k forks source link

datetime + placeholder are not working properly #2811

Open skrasnoyarov opened 1 month ago

skrasnoyarov commented 1 month ago
Techn1c4l commented 1 month ago

The placeholder option is meant to be used to specify a single character. In your case, set the value to placeholder: '0'.

skrasnoyarov commented 1 month ago

@Techn1c4l I tried it, it didn't help. I noticed that it works with the rest of the characters, only with zero like this

Techn1c4l commented 1 month ago

Just checked, it appears version 5.0.9-beta.70 introduced this bug. Try using version 5.0.9-beta.62, works fine for me.

skrasnoyarov commented 1 month ago

it's not so critical for me right now and I'll stay on version 5.0.8 for now. Can you fix it in newer versions?

Techn1c4l commented 1 month ago

it's not so critical for me right now and I'll stay on version 5.0.8 for now. Can you fix it in newer versions?

I'm sure the author of the library will fix this eventually. I'm just helping with the issues section here.

skrasnoyarov commented 1 month ago

@Techn1c4l ok. Thank`s for your help!