ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

MultiComboBox - After filtering the list, the filter text should be deleted

Open brodo opened this issue 7 years ago • 5 comments

Describe the bug After selecting an item in the MultiComboBox the text is not cleared and one has to delete the already typed text to add another item.

To reproduce Steps to reproduce the behavior:

  1. Go to 'https://sap.github.io/ui5-webcomponents/playground/components/MultiComboBox/'
  2. Scroll down to 'MultiComboBox with items'
  3. Type in 'bul'
  4. Select 'Bulgaria'
  5. Bulgaria is selected, but the text 'bul' is still present in the input field.

Isolated example 2019-09-04 14 49 46

Expected behavior After selecting an item, the text in the input field should be cleared.

Context

  • UI5 Web Components version:
  • OS/Platform: Mac OS
  • Browser: Latest Firefox , Safari, Chrome

Affected components (if known) MultiComboBox

brodo avatar Sep 04 '19 12:09 brodo

Hi @brodo can we clarify something.

I copied the following from the MultiComboBox UX spec:

" (1) If the user selects items from the filtered option list by clicking or tapping the checkbox (or by pressing the spacebar of the keyboard), the text entered in input field remains. The option list stays open. (2) If the user selects items by clicking or tapping the label or by pressing Enter, the entered text is cleared and the option list is closed. "

We miss the interaction 2 and it will be in future provided, but as long I can see from your description, you are using the checkbox to select items and as the spec suggests in this case the text should remain in the input field. So exactly this part is actually correct.

ilhan007 avatar Oct 07 '19 10:10 ilhan007

Ok, I see. Should this issue be closed or do we use it for tracking progress on interaction (2) ?

brodo avatar Oct 07 '19 12:10 brodo

For tracking progress on interaction (2) is fine.

ilhan007 avatar Oct 07 '19 12:10 ilhan007

The issue is resolved and will be available in the next release(1.0.0-rc.5)

fifoosid avatar Nov 25 '19 12:11 fifoosid

Is there already a planned release date for rc.5?

brodo avatar Nov 25 '19 12:11 brodo