MutiSelect Component Error in Console #3036
Unanswered
neovia-ciro
asked this question in
PrimeReact
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There,
I am using MutiSelect Component as below:
When I look at console developer tools, there is the following warnings:
Warning: Encountered two children with the same key,
null
. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. Error Component Stackat div ()
Warning: Encountered two children with the same key,
0
. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. Error Component Stackat div ()
Warning: Encountered two children with the same key,
1
. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. Error Component StackThey appear twice times, for each selected value, beside that, is appearing a null label in the DOM.
I red the following post but it solution doesn't help me.
https://stackoverflow.com/questions/64930415/how-to-add-add-key-to-react-select-multi
Can someone help me?
Best Regards,
Ciro
Beta Was this translation helpful? Give feedback.
All reactions