Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option: hide mask only if value is empty (without mouse events) #2064

Open
nemiro opened this issue Feb 11, 2019 · 3 comments
Open

add option: hide mask only if value is empty (without mouse events) #2064

nemiro opened this issue Feb 11, 2019 · 3 comments

Comments

@nemiro
Copy link

nemiro commented Feb 11, 2019

add new option to allow show mask only if user has started input.
mask will not be visibile if value is empty and will be visible if value is not empty.

duplicate of #1302

I will make pull request to latest version.

also I made plnkr, so you can see result by yourself.

example is for 4.0.4 version
see /*inemiro::*/ comment at the inputmask.js
https://embed.plnkr.co/32Yhomx5eyhs1IJus5Xj/

@nemiro
Copy link
Author

nemiro commented Feb 11, 2019

made new pull to latest HEAD version
#2065

@RobinHerbots
Copy link
Owner

@nemiro ,

Isn't this the same option as clearMaskOnLostFocus

@PelElMejor
Copy link

When I use clearMaskOnLostFocus option, woks, but the mask be show and I need that the mask just be show when I use the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants