-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: children does not exist on type FormikFieldProps #222
Comments
I am quite busy with other stuff, but if you open a PR I could test/review and publish a new version |
@jannikbuschke Thank you for your fast reply. |
@jannikbuschke Hi, any updates on this, please? |
will check this evening, sorry for the delay |
Thank you! |
Add children props to Field component - Issue #222
@martynaskup are you on antd 4 or 5? cause I have problems building the formikt-antd v2 (targeting antd4) |
I now published 2.0.5, can you check if it works? |
I am on antd 4 at the moment. I hope to upgrade to antd 5 soon hence I would appreciate to have this solution also for the antd 5. |
I checked 2.0.5. and it works now. Thank you! |
I get the following errors upon upgrading React from to v18. It related only to the FormikFieldProps defined (in formik-antd) in FieldProps.tsx
src/field/index.tsx
(in props)
checkbox/index.tsx
(in both Checkbox and Checkbox.Group components - Type error for the Field component
@jannikbuschke Could you please check this and fix it? It looks like FormikFieldProps should contain either children?: React.ReactNode prop, just when I add it manually (only to see if this would work), I get a different TypeError in Checkbox and Checkbox.Group:
The text was updated successfully, but these errors were encountered: