Closed hexerus closed 4 days ago
Use showMaskOnFocus
, showMaskOnHover
and jitMasking
options like this:
$(function() {
$('#myInput').inputmask('999-99-9',
{
placeholder: '',
showMaskOnFocus: false,
showMaskOnHover: false,
jitMasking: true
});
});
jitMasking: true
appears to works alone on itself, thanks.
Using the placeholder option:
Image 2 (field in mouse focus, these are the dashes I want to hide):
Image 3 (only show them when the characters are entered up to that point in green, not show the one in red):
![Screenshot 2024-07-04 120014](https://github.com/RobinHerbots/Inputmask/assets/47005060/124eb030-ad92-4c6d-85d6-da14f9f7ba32)
<script> $('#phone').inputmask('999-99-9', {'placeholder': ''}); </script>
has disabled the underscore placeholders, but not the dashes. Image 1 (field not in focus, correct):