openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Show Clear Icon not working on MultiComboBox

Open malkoto1 opened this issue 4 years ago • 3 comments

OpenUI5 version: 1.99.0

Browser/version (+device/version): All

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible): https://openui5.hana.ondemand.com/entity/sap.m.MultiComboBox/sample/sap.m.sample.MultiComboBoxClearIcon

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem: This button just don't appear

What is the expected result? The expected result is to see an X when I add more than one selections

What happens instead? The X isn't showing The button is not visible even in the demo, please see screenshot below

Any other information? (attach screenshot if possible) Capture

malkoto1 avatar Mar 17 '22 14:03 malkoto1

Hello @malkoto1,

The clear icon button is displayed when there is a text value typed in the MultiComboBox. When it is tokenized it is not shown. It is the desired behavior of the control. The tokens has their own 'x' buttons.

Kind regards, Nikolay

ndeshev avatar Mar 18 '22 07:03 ndeshev

Hi Nikolay, Thanks for the quick answer.

I didn't find anything saying this in the documentation so I made an assumption, thanks for the clarification. On that, if there is a clear explanation, can you point me to it? In case there isn't it is a good idea to add it.

Further it really makes sense to show it on the Multi Combo Box when more than one selection is made as you can see that when more options are selected than and they cannot all be shown we see 2/3/4... more. There are a lot of cases that the user will just want to clear all. Select All will kind of help but not entirely as I will have to select all and then deselect all.

I think this is going to be great additional functionality for the control. How can I submit that as an improvement request?

Kind Regards, Rado

malkoto1 avatar Mar 18 '22 08:03 malkoto1

One more think: When I have several things selected and I enter some characters the following thing happens:

image

As a User I don't see how much items and which have I really selected. I expecting for the Clear button to clear all. In the other case i will just delete with backspace.

malkoto1 avatar Mar 18 '22 08:03 malkoto1