Closed victorbrugnolo closed 5 years ago
Can please give an example?
Hi @victorbrugnolo
you need to remove value
and onChange
props from datetime field since state is taken care by formik. See below:
<Field name="datetime" component={DateTimePicker} />
And here is a working codesandbox of your gist: https://codesandbox.io/embed/unruffled-mestorf-90l64
I can not get the value of DateTimePicker, I set the name, but it is not passed to JSON in values