-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an ability to use 'isRevealingMask' option #98
base: master
Are you sure you want to change the base?
Conversation
+1 I noticed this option today while reading over the inputmask-core docs and would love to have this integrated! Specifically, I think it's annoying when the input is masked with and underscore ("_") or space (" ") and you have to delete back through all that to enter in more text. And when you set the placeholderChar prop to |
+1 for this prop. I would also like to see this implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the conflicts
@@ -207,10 +202,9 @@ var MaskedInput = React.createClass({ | |||
this._updateMaskSelection() | |||
if (this.mask.input((e.key || e.data))) { | |||
e.target.value = this.mask.getValue() | |||
window.mask = this.mask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this change? This is not correct to add a variable directly to window object
I've added an ability to use isRevealingMask with this component.
The description for this option is in
https://github.com/insin/inputmask-core#isrevealingmask--boolean