Skip to content
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

HowTo: getRawValue() "inputmask-core already exposes this" #42

Closed
rajeshps opened this issue Apr 1, 2016 · 1 comment
Closed

HowTo: getRawValue() "inputmask-core already exposes this" #42

rajeshps opened this issue Apr 1, 2016 · 1 comment

Comments

@rajeshps
Copy link

rajeshps commented Apr 1, 2016

Hello,

How to extract rawValue from MaskedInput as from the source it looks like e.target.value is being set with displayValue.
Requirement is to get RawValue and not the current value which contains the place-holders too.

Thanks!

@rajeshps
Copy link
Author

rajeshps commented Apr 1, 2016

Sorry, closing this as have managed to access the getRawValue via refs.
this.refs.maskedinput.mask.getRawValue() - If there's better way please let me know otherwise for now am able to get it work.

Thanks!

@rajeshps rajeshps closed this as completed Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant