react-input-mask icon indicating copy to clipboard operation
react-input-mask copied to clipboard

How can we grab a copy of the original value without the mask being applied?

Open DDChiang opened this issue 7 years ago • 1 comments

I'm in a situation where in addition to formatting the value with the mask to display for users (react-input-mask handles this very well), I also need to preserve the raw value of the user input without any formatting.

Is there a recommended way to get this raw value? Would I need to create my own "unmask" method to do that?

DDChiang avatar Sep 12 '18 16:09 DDChiang

any updates/plan for this?

bron10 avatar Feb 03 '20 04:02 bron10