Hi. Try this example in the Playground.
In the debugger I get multiple errors/warnings like:

"462296 qx.ui.form.SelectBox[538]: Setting the selection on disabled
'qx.ui.form.SelectBox' is deprecated: The current behavior will change from
doing nothing to selecting the given items."

I can't understand the warning.
What is the cause. Or what I need change to solve this.



var doc = this.getRoot();

var selectBox = new qx.ui.form.SelectBox();
doc.add(selectBox, {left: 10, top: 10});
selectBox.setEnabled(false);
      
var store = new qx.data.store.Json();
store.addListener("loaded", function(e){
        selectBox.setEnabled(true);
});
var controller = new qx.data.controller.List(null, selectBox, "name");
store.bind("model.items", controller, "model");
store.setUrl("http://demo.qooxdoo.org/1.1/demobrowser/demo/data/json/list.json";);

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/little-problem-migrating-SelectBox-1-0-1-1-1-tp5003541p5003541.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to