react-input-mask
react-input-mask copied to clipboard
Input masking component for React. Made with attention to UX.
Hello, I would like to use 'react-input-mask' to provide fractions like these: 1/2, 1/8 2/3, 12/22, etc. but unfortunately I am stuck :/ I have something like this for now:...
Is there a way to automatically save the value as a normal without the mask?
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
I made this implementation to handle Brazilian phone numbers. But it is necessary to use this function in a normal "input" instead of "InputMask". This function must be passed in...
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. Changelog Sourced from ssri's changelog. 6.0.2 (2021-04-07) Bug Fixes backport regex change from 8.0.1 (b30dfdb), closes #19 Commits b7c8c7c chore(release): 6.0.2 b30dfdb fix: backport...
I'm trying to use a regex that looks something like this ``` mask={[/\d{4}-\d{3}-\d{2}-[A-Z]/]}` ``` I'm able to pass masks like `"999-999-a"` and `[/\d/, /\d/]` just fine, however when setting length...
In the demo's, go to the second one and fill in a number. Then, cut the *entire* value, and paste it right back. Expected result: The input contains the value...
Going to try to open a PR for this, but wanted to bring it up in an issue first. `findDOMNode` is deprecated in favor of refs. I think the safest...
This merge request is intended to fix an insidious bug caused by a loss of reference to the input DOM element under certain circumstances. In concreto, when the input loses...