Community
Participate
Working Groups
// Set methods
setItems : function( items ) {
// [if] Workaround for bug:
// 278361: [Combo] Overlays text after changing items
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=278361
// Items are not removed from DOM if the display = false.
this._list.setDisplay( true );
this._list.removeAll();
this._list.setDisplay( false );
for( var i = 0; i < items.length; i++ ) {
var item = new qx.ui.form.ListItem();
item.setLabel( "(empty)" );