vmware-clarity / ng-clarity

Clarity Angular is a scalable, accessible, customizable, open-source design system built for Angular.

Home Page:https://clarity.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-select combobox does not clear input after selecting an item

macguirerintoul opened this issue · comments

Describe the bug

When typing to search for an item in a multi-select combobox, then pressing enter to select the item, the partially-typed item is not cleared, requiring the user to manually clear the input before searching for another item.

How to reproduce

The issue can be reproduced on the Clarity site, or in the Storybook.

Steps to reproduce the behavior:

  1. Go to a multi-select combobox
  2. Partially type the name of an item
  3. Select the item using enter
  4. See the partially-typed item is still in the combobox, until it is blurred

Expected behavior

After selecting an item, the input is cleared so the user can begin searching for another item.

See Polaris combobox, Vaadin combobox, Paste combobox

Versions

Clarity version:

  • v15.x
  • v16.x
  • Other:

Framework version:

Angular 16

Device:

  • Type: MacBook Pro 16,2
  • OS: macOS 14.2.1 (23C71)
  • Browser: Chrome
  • Version: 121.0.6167.85 (Official Build) (x86_64)

Hello,

Thanks for the feedback. Currently this can't be described as bug because it was intentional but I reported it internally and we are going to take it in mind.

Regards,
Daniel Tsanev

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.