jannikbuschke / formik-antd

Simple declarative bindings for Ant Design and Formik.

Home Page:https://codesandbox.io/s/github/jannikbuschke/formik-antd-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Submit only gets values of inputs that had events

rigorio opened this issue · comments

This is somewhat related to my other issue.

Basically, if I have an input with a predefined value and then submit that form, the value is not retrieved. Only until I press a key on that input.

You should use Formiks initialValues prop to provide initial values.