Hello,

the delegate for the list controller does not offer such a functionality.
During the development, I omitted such a feature. The selectbox has by
design always one item selected. Thats the way it should be used and if you
need another selection mode where it is possible to select nothing, maybe
you should think of using another input element. Thats my point of view
which triggered the decision not to include such a feature.

But that does not mean that it's not possible and the only way to see that!
In the default case, I would suggest to add the dummy item to the data model
but as you said, it shows up in all places where you use that list. So the
easiest way I see to go is to make a copy of the data and add the dummy item
to the copy (var copy = array.concat();).

Regards,
Martin


-- 
View this message in context: 
http://n2.nabble.com/Binded-SelectBox-insert-a-first-empty-item-tp4810771p4816529.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to