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

Defaulting a yup.date input does not render #179

Open
ethanve opened this issue Jul 19, 2021 · 1 comment
Open

Defaulting a yup.date input does not render #179

ethanve opened this issue Jul 19, 2021 · 1 comment

Comments

@ethanve
Copy link

ethanve commented Jul 19, 2021

Hey Jason!

Playing around with V2 and loving it. I noticed that creating a yup.date with a default value doesn't actually render the default. Example here: https://codesandbox.io/s/lucid-sky-07247?file=/src/App.js

Happy to take a stab at a fix if this is an actual issue

@jquense
Copy link
Owner

jquense commented Jul 19, 2021

👋 it seems to work with type='date-local' on the field, not sure why the others don't tho. If you want to investigate i'd appreciate it

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