CalebMorris / react-moment-proptypes

React proptype validator for moment.js
49 stars 17 forks source link

Throws error if prop is required #14

Closed toblix closed 8 years ago

toblix commented 8 years ago

The validator seems to throw an error if the prop is required, regardless of whether it is provided.

CalebMorris commented 8 years ago

Not sure when that happened, could have sworn I've used this with required props. Thanks for submitting the issue.

CalebMorris commented 8 years ago

Version v1.1.2 published

emragins commented 8 years ago

Thanks. This bug was causing headaches -- wish I saw that this had been fixed 5 days ago :D