insin / react-maskedinput

Masked <input/> React component
http://insin.github.io/react-maskedinput/
MIT License
731 stars 197 forks source link

fix react warning with `placeholderChar` prop #59

Closed iduuck closed 8 years ago

iduuck commented 8 years ago

After seeing this warning (more of an error) I needed to get rid of it. Because I was using your library, that was happening because you are using the {...props} on the input. As of React v15.0.0 it's not good to pass unknown props. So I temporarily fixed this behaviour and it's accompanying warning/error.

This pull request also removed unnecessary whitespace on the main files.

iamdustan commented 8 years ago

Hey @iDuuck, remove the second commit and I’ll land and get this released within an hour.

iamdustan commented 8 years ago

Closed by #61.

dbrans commented 8 years ago

Release please :)