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

Input.TextArea doesn't work

Illia-Linevych opened this issue · comments

commented

I have textarea in my form:
<Form.Item name="selfDescription"> <Input.TextArea name="selfDescription" rows={4} showCount maxLength={500} /> </Form.Item>
and I actually can't enter any key in it. Also I receive this warning in console on each key entering in textarea:
image
Adding onChange={(e) => (handleChange({ target: { name: 'selfDescription', value: e.target.value } }))
to my Input.TextArea solves problem but I'm still receiving this warnings in my console and it is a bit confusing. So how can i properly fix this behavior?

Probably a duplicate of #182