var modelSelection = (selectBox.isSelectionEmpty()) ? 2 :
selectBox.getModelSelection().getItem(0);
selectBox.removeAll();
[{ID: 1, name: 'Test ' + Math.random()},{ID: 2, name: 'Test ' +
Math.random()},{ID: 3, name: 'Test ' +
Math.random()}].forEach(function(item){
selectBox.add(new qx.ui
Hi all,
I've an error, when I try to reload a select box and remember the
selected model (to reselect after reloading).
Error: Could only select one item, but
the selection array contains 2 items!
Have I missed something? - Thanks for the
arlsruhe
*Von:*Daniel Lenggenhager [mailto:qoox...@ctool.ch]
*Gesendet:* Dienstag, 16. Juli 2013 14:30
*An:* qooxdoo-devel@lists.sourceforge.net
*Betreff:* [qooxdoo-devel] SelectBox and getModelSelection
Hi,
Maybe it's a bug...
Playground: http://tinyurl.com/pzsvymj
Select an other ListItem in
oo-devel@lists.sourceforge.net
Betreff: [qooxdoo-devel] SelectBox and getModelSelection
Hi,
Maybe it's a bug...
Playground: http://tinyurl.com/pzsvymj
Select an other ListItem in the SelectBox and then again to the first one (with
the model value: null).
getModelSelection doesn't accept
Hi,
Maybe it's a bug...
Playground: http://tinyurl.com/pzsvymj
Select an other ListItem in the SelectBox and then again to the first
one (with the model value: null).
getModelSelection doesn't accept the change to the value: null.
Regards
Daniel
---