-
Notifications
You must be signed in to change notification settings - Fork 843
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
EuiComboBox: React warning related to duplicate keys #1901
Comments
10 tasks
@cchaos thanks for sharing! I will go ahead and close this. |
I reopen the issue as I did not understand why it is not possible to give a unique key to the combo box options. @cchaos |
#3803 tracks the request to allow Closing this in favor of that issue and the solution in the linked PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce, create a
EuiComboBox
that groups options together, where group 1 has an option with the same label as group 2.For example:
It looks like the key is created based on the
label
, which is causing the following React warning in this scenario:Warning: Encountered two children with the same key
The text was updated successfully, but these errors were encountered: