You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this line <AntDatePicker {...field} {...props} /> you are basically reimplementing formik-antd. The idea of formik-antd is that you dont need to hook up formik and antd by yourself.
So the correct usage of AntDatePicker (from formik-antd) is to just pass in the name prop and add some styling. But do not profide onChange and value props (which you are doing, by spreading the formik values from the useField hook.
I use 'formik-antd' and using this code with Form:
Before that I used other components in the same way and they worked. Is there a fix for the problem?
The text was updated successfully, but these errors were encountered: