When removing an item from a fields list the inputs below that item are cleared #789
Replies: 2 comments
-
Thanks for sharing the reproduction! The issue comes from the Here’s the fix: -<li key={hacker.id}>
+<li key={hacker.key}> No worries, you're not the first to run into this! I'll look into improving this aspect to avoid similar confusion in the future. 🤔 Let me know if that resolves the issue! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. I should have paid more attention to the field metadata to understand the difference between the key and id. Thanks again |
Beta Was this translation helpful? Give feedback.
-
The issue is that when you remove items from the list the inputs in the items below are cleared. I have made a simple reproduction of the issue here https://codesandbox.io/p/sandbox/mutable-moon-df9q2h . I'm sure it's something that I'm doing wrong but I can't figure it out.
Any help would be greatly appreciated
Thanks
Beta Was this translation helpful? Give feedback.
All reactions