jannikbuschke / formik-antd

Simple declarative bindings for Ant Design and Formik.
https://codesandbox.io/s/github/jannikbuschke/formik-antd-example
MIT License
587 stars 81 forks source link

DatePicker: add option to return the string value #175

Open damonsmith opened 3 years ago

damonsmith commented 3 years ago

Antd supports returning just the string value from the date picker, this change allows formik-antd to do the same.

I had trouble writing tests that typed values into the date picker field so instead I used the date picker "Today" button to set the date and then compared it to the current date.