-
Notifications
You must be signed in to change notification settings - Fork 210
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
react clone the same item form another list , and the item's key is repeat? #182
Comments
@FourPig prefix your key with a property that is specific to that list?
|
In my case, I'm cloning items from options (list 1) to canvas (list 2). I only want to update the canvas and not the options. For cloning and creating new ids for the options, I did the following for the options list
|
Same thing. Have you solve it? |
clone tow items to one list, the ids still will duplicate |
acturally not |
it's complicated |
Update the id of the original list items after cloning. |
the item.id will repeat in container list, what should i do?
The text was updated successfully, but these errors were encountered: