Skip to Content

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

Dec 22, 2017 at 02:08 PM


avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ivan Mirisola
Dec 27, 2017 at 01:35 PM

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.


10 |10000 characters needed characters left characters exceeded