RobinHerbots / Inputmask

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

numeric alias, mask and repeat problem #2534

Open serlogo53 opened 3 years ago

serlogo53 commented 3 years ago

hi, component is very good but i have a problem. when i set the mask repeat and everything working but i can not accept 0 (number zero) if i remove mask its working but in this time repeat not working. i can not limit length. why when i made mask:9 just accept numbers 1-9 not 0-9.

how can i fix? help please..

$("#xx").inputmask({
        autoUnmask: false,
        showMaskOnHover: false,
        mask:"9",
        repeat:20,
        rightAlign: false,
        placeholder: '',
        alias: "numeric",

    });
serlogo53 commented 3 years ago

is anyone can help? if i make this withouth numeric working but repeat not working and when i use in tablet or mobile numeric keypad not working. thanks.