Skip to content
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

I would like to ask if formList is supported #218

Open
cangsnage opened this issue May 13, 2024 · 1 comment
Open

I would like to ask if formList is supported #218

cangsnage opened this issue May 13, 2024 · 1 comment

Comments

@cangsnage
Copy link

Is there any example reference?

@jannikbuschke
Copy link
Owner

What do you mean by formList?

You can access list items with dot notation, so name="items.2.name" would access the third items name property of an array called "items".

There is also an example with a table here:
https://github.com/jannikbuschke/formik-antd-example/blob/2f05b6159785e661bdec5d2e677953d983fb23ee/src/sample-table.tsx#L53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants