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

Comments

2 participants
@ggunia

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

This comment has been minimized.

Show comment
Hide comment
@gpbl

gpbl Jun 29, 2017

Owner

Nice, thanks for the tip!

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 in #441 Jun 30, 2017

@gpbl

This comment has been minimized.

Show comment
Hide comment
@gpbl

gpbl Jul 2, 2017

Owner

Fixed in v6.0.5

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