SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.94k stars 1.23k forks source link

sap.m.MultiComboBox retains user input after clicking suggestion #3953

Closed swayongshen closed 7 months ago

swayongshen commented 7 months ago

SAP UI5 version: 1.120.4

Browser/version (+device/version): Chrome

Steps to reproduce the problem:

  1. Type into MultiComboBox to prompt some suggestions
  2. Click on the checkbox of a suggestion
  3. The string typed in step 1 is still retained

What is the expected result? The input from the user should be removed when he selects a suggestion. The behaviour is correct if the user selects the text of the suggestion instead of just the checkbox.

What happens instead? The input from the user is retained even after the user selects a checkbox of a suggestion. Replicable on sample https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBox

Any other information? (attach screenshot if possible)

image
LidiyaGeorgieva commented 7 months ago

Hello @swayongshen , Thank you for sharing this finding. I've created an internal incident 0046379. The status of the issue will be updated here in GitHub. Regards, Lidiya

ivoplashkov commented 7 months ago

Hello,

Thank you for reporting this issue!

According to the UX spec of the MultiComboBox, when you click on the checkbox, the text should remain the inputfield. If you however select an item, by clicking on it, the text should be cleared.

Since the control is behaving as expected, I am closing this issue.

Best regards, Ivaylo