aesopwolf

Results 20 comments of aesopwolf

In theory you should be able to pass `active` and `payload` props to make this happen, but it appears the Tooltip isn't receiving those properly: ![image](https://user-images.githubusercontent.com/6847633/30460569-79c55a2c-996c-11e7-80fb-861e94e52ffa.png)

This should probably be filed as a bug report^. @xile611

Similar problem over here https://github.com/recharts/recharts/issues/790

@insin do you have any insight on this PR? Seems good to me

I agree, it does feel a bit hackish. Do you know what the downsides are? Or a good alternative? There's a user-land solution outlined here https://github.com/insin/react-maskedinput/issues/58#issuecomment-230954832

Thanks for sharing that link, I never knew there was a name/label for that idea. What solution does your team use to "strip the formatting out when sending the data."?...

What about setting an attribute `data-rawValue` on the DOM node itself? 1. Create a new method `getRawValue` on the MaskedInput class that returns `el.getAttribute('data-rawValue')` 1. Let users setup a ref...

@alpjor might be worth checking out https://github.com/Pephers/react-autofill

I published a fork of this PR to npm for the time being https://www.npmjs.com/package/react-maskedinput-autofill

Ah, yup! Yeah that will work. Technically you have to add a space before the class like this `classSuffix=" YourClass"`, but that's not really a big deal.