Replies: 1 comment
-
@SaburovBabur Please provide a codesadbox url to re-produce the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
^7.29.0
Codesandbox/Expo snack
Steps to reproduce
Expected behaviour
Using useFieldArray with antd Table:
Having somethin like this in my code:
And whenever i append some data it is been added to table row. Then the
field.id
is been consumed as key in all name, as an examplename={
restore.${fieldId}.mxik}
. But it gives some strange issue in validation where each time i add row errors are swapped and focus is given to another field. But whenever i dodataSource={fields.map((field, idx) => ({ id: idx }))}
(swapfield.id
toidx
) it works.Is there any unexpected key mismatch i did or is it a bug
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions