react-input-mask
react-input-mask copied to clipboard
Multiple masks
Hi,
Is it possible to have different characters for the mask in one input?
For example dd/mm/yyyy instead of__//__.
@justindra Did i understand you correctly?
You mean this:

Instead of this:

And instead of this (placeholder on unfocused empty input):

@sanniassin yep that's correct! :)
Are there any ways to set multiple masks on input like ['+11 11111111', '+11 1111111111'] ?
@sanniassin Here in Brazil it is very common to have 8 or 9-digit phones, for example:
3004-1212 (home phone) and 98767-9876 (Mobile Phone)
It would be interesting if the component accepts more than one mask or optional masks. Something like this jQuery plugin:
@sanniassin Do you think it's possible to get this kind of behavior to work using beforeMaskedValueChange? I need to port some code that relies on jQuery maskedinput over to React; this seems like it's the trickiest part.
@sanniassin so, is this possible?
nothing new here?
possible?
Bump. I also need this. Any news?
Bump. Any other solution?
👀
Any update on this?
I will reference issue #190 that is the same issue and could be help all here.
👀