Skip to content
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

fix(combobox): correctly select an item with selection-mode=‘single-persist’ when items have the same values #10366

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

driskull
Copy link
Member

@driskull driskull commented Sep 20, 2024

Related Issue: #8720

Summary

  • add fix for selecting items with the same value
  • add e2e test

BEGIN_COMMIT_OVERRIDE
fix(combobox): correctly select an item with selection-mode=‘single-persist’ when items have the same values
END_COMMIT_OVERRIDE

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Sep 20, 2024
@driskull driskull marked this pull request as ready for review September 20, 2024 22:29
@driskull driskull added the skip visual snapshots Pull requests that do not need visual regression testing. label Sep 20, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️
🏄‍♂️🤙🤙🤙🏄‍♂️🏄‍♂️🤙🤙🤙🤙🏄‍♂️🤙🤙🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️
🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️
🏄‍♂️🤙🤙🤙🏄‍♂️🏄‍♂️🤙🤙🤙🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️
🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🏄‍♂️🏄‍♂️
🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️🤙🤙🤙🏄‍♂️🏄‍♂️🤙🏄‍♂️
🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️🏄‍♂️

@driskull driskull merged commit 5401ea6 into dev Sep 25, 2024
13 checks passed
@driskull driskull deleted the dris0000/combobox-single-select-same-value branch September 25, 2024 19:17
@jcfranco jcfranco changed the title fix(combobox): selection-mode="single-persist" correctly selects an item when items have same values fix(combobox): correctly select an item with selection-mode=‘single-persist’ when items have the same values Sep 25, 2024
benelan added a commit that referenced this pull request Sep 26, 2024
…lid-border-color

* origin/dev:
  feat(alert): apply --calcite-alert-corner-radius to internal close button (#10388)
  feat(dialog, panel): Add css properties for background-color (#10387)
  fix: remove aria-disabled from components where necessary (#10374)
  feat(action-group, block, panel): add `menuPlacement` and `menuFlipPlacements` properties (#10249)
  fix(list, filter): fix sync between list items and filtered data (#10342)
  feat(popover): apply component tokens to arrow (#10386)
  feat(list-item): add `unavailable` property (#10377)
  fix(segmented-control): honor appearance, layout and scale when items are added after initialization (#10368)
  fix(action-pad): fix horizontal action group alignment (#10359)
  fix(combobox): selection-mode="single-persist" correctly selects an item when items have same values (#10366)
benelan added a commit that referenced this pull request Sep 26, 2024
…tracking

* origin/dev: (40 commits)
  feat: add parcel parameter (#10384)
  feat(alert): apply --calcite-alert-corner-radius to internal close button (#10388)
  feat(dialog, panel): Add css properties for background-color (#10387)
  fix: remove aria-disabled from components where necessary (#10374)
  feat(action-group, block, panel): add `menuPlacement` and `menuFlipPlacements` properties (#10249)
  fix(list, filter): fix sync between list items and filtered data (#10342)
  feat(popover): apply component tokens to arrow (#10386)
  feat(list-item): add `unavailable` property (#10377)
  fix(segmented-control): honor appearance, layout and scale when items are added after initialization (#10368)
  fix(action-pad): fix horizontal action group alignment (#10359)
  fix(combobox): selection-mode="single-persist" correctly selects an item when items have same values (#10366)
  fix(input-time-zone): fix region mode labeling and value mapping (#10345)
  fix(dropdown): open dropdown on `ArrowDown` & `ArrowUp` keys (#10264)
  refactor(components): reduce post-migration TypeScript errors (#10356)
  refactor: do not use Host in functional components (#10352)
  refactor(tests): reduce TypeScript errors (#10344)
  feat(alert): add component tokens (#10218)
  fix(card): properly handle slotted elements (#10378)
  refactor(panel): remove duplicate tailwind class (#10379)
  feat(popover, action): add component tokens (#10253)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants