UMG - Remove empty elements from ComboBox?


I´m want my user to be able to choose from a list of items that may vary in number.

I will use Bind to add items to selection from the list. BUT if the list only contains 2 items I don´t want the ComboBox to show empty lines. Is there a way to avoid this??


an element with an empty string will still take up space in the menu, so don’t use empty strings in your DefaultOptions array.

using ClearOptions, AddOption, and RefreshOptions, you should be able to dynamically add any number of items.