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

DatePickerInput format prop's proptype validation #439

Closed
ggunia opened this issue Jun 29, 2017 · 2 comments
Closed

DatePickerInput format prop's proptype validation #439

ggunia opened this issue Jun 29, 2017 · 2 comments
Milestone

Comments

@ggunia
Copy link

ggunia commented Jun 29, 2017

Proptype validation fails when I pass array of formats to DatePickerInput component. It's valid for moment to accept array of formats and works perfectly with DatePickerInput too. So prop's validation must be oneOf array or string

@gpbl
Copy link
Owner

gpbl commented Jun 29, 2017

Nice, thanks for the tip!

@gpbl gpbl modified the milestone: v6.0.5 Jun 30, 2017
@gpbl gpbl closed this as completed in #441 Jun 30, 2017
@gpbl
Copy link
Owner

gpbl commented Jul 2, 2017

Fixed in v6.0.5

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

2 participants