cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possibe to let MultiComboBox show all selected entries via grow?

Former Member
0 Kudos

I am using sap.m.MultiComboBox for multiselection and showing the selected items.

But in the case of more selected items, only the last items are really visible without opening the dropdown.

Is it possible to resize (grow) the MultiComboBox from looking like a Input-Field to a TextArea which can display all items?

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Michael,

Not that I am aware of. Please check the fiori guidelines on the Multicombobox and you will see there is no growing feature. In fact the guidelines state that you need to be aware that the space is limited on the display of selected options. On the other hand, the selected options can be reviewed by swiping left and right on the input field. But if you expect the list of selected options to be too large, than you might need to rethink the UX of your App. Perhaps by using width="auto" or using a completely different approach using Select Dialog. This last option could potentially make your UX cleaner and easier to understand.

However, if MultiComboBox is a must for your UX, you could use a Text Area with growing="true" to display the selected options instead. You would end-up with a "double" display of the selected options, since you couldn't "hide" the input field from the MultiComboBox anyway. Check out the sample for Multicombobox and instead of displaying a message toast you could set the text of the TextArea element using setValue() method.

Regards,
Ivan