Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

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

Open nemiro opened this issue 5 years ago • 3 comments

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 https://github.com/RobinHerbots/Inputmask/issues/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 avatar Feb 11 '19 08:02 nemiro

made new pull to latest HEAD version https://github.com/RobinHerbots/Inputmask/pull/2065

nemiro avatar Feb 11 '19 09:02 nemiro

@nemiro ,

Isn't this the same option as clearMaskOnLostFocus

RobinHerbots avatar Jun 07 '19 11:06 RobinHerbots

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.

PelElMejor avatar May 05 '22 17:05 PelElMejor