-
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
Pass raw value to redux-form #129
Comments
In onChage you can access to raw value like
and then I guess you may assign this to redux-form or add wrapped function to do it for you. |
Hi, i'm trying to use rawValue but not works. <MaskedInput
name="cnpj" type="text" value={inputValue}
onChange={(e) => {
console.log(e.target.rawValue);
}}
mask="11.111.111/1111-11"
/> The result is |
You need to use ref to call |
This doesn't seem to work anymore. Using a |
Hello, I'm using that lib with material-ui and redux-form, so, actually I've passed the mask to redux-form, but only with mask, I saw that could be handle with ref.mask.getRawValue, so, how can I call that function to redux-form get raw value?
The text was updated successfully, but these errors were encountered: