Skip to content

[EuiComboBox] Fix issue with duplicate checkmarks#4162

Merged
timroes merged 5 commits intoelastic:masterfrom
timroes:fix/combo-box-key-issue
Oct 20, 2020
Merged

[EuiComboBox] Fix issue with duplicate checkmarks#4162
timroes merged 5 commits intoelastic:masterfrom
timroes:fix/combo-box-key-issue

Conversation

@timroes
Copy link
Copy Markdown
Contributor

@timroes timroes commented Oct 20, 2020

Summary

This fixes an issue that items inside a combo box with the same label (but different keys) will both look checked once one of them is marked:

screenshot-20201020-153309

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • Props have proper autodocs
  • Added documentation
  • Checked Code Sandbox works for the any docs examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_4162/

@timroes timroes requested a review from chandlerprall October 20, 2020 18:56
@timroes timroes added the bug label Oct 20, 2020
@timroes timroes marked this pull request as ready for review October 20, 2020 18:56
@kibanamachine
Copy link
Copy Markdown

Preview documentation changes for this PR: https://eui.elastic.co/pr_4162/

Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM, pulled & tested locally

@timroes timroes merged commit 1eff48a into elastic:master Oct 20, 2020
@timroes timroes deleted the fix/combo-box-key-issue branch October 20, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants