input-masking
input-masking copied to clipboard
Framework agnostic accessible input masking library
I lied, I found one more issue that I see common to many input maskers :) Let's say I enter a 16 digit credit card. Now I realize I messed...
The mask works for the first `` added by scripting (on page load), but any other added later doesn't have it. The input elements come from a template. This is...
```html CPF ``` ```js let inputMask = new InputMask(); ``` Manual initialization is working, but auto initialization via `script[data-autoinit=true]` is not. ```html ``` I'm using commit afc9fbba5d294a0cda973a9cd1a4aabe2eb37108.
After some testing I found some users found it unintuitive to only type numbers for masked dates. (they would try to type in the slashes). If there is some functionality...
Fix issue when you have an initial value in the input and the emphasis would still be visible.
Loading in an initial value into a text box with the library enabled will mean the placeholder is drawn under the text. I tried to call various events to fix...
Users can write number or letter to text. First two characters can be 'A' or '1'. I've checked the examples but can't found. My pattern should be something like following:...
It will be more convenient to install the library via npm
Sorry if my question is stupid, but code expectedly throws error that 'string is not define' (cause 'string' should be string), what's going on?