Hi Peter,

your use case looks valid to me. I did some digging and found the cause
of the issue in ui.form.MModelSelection.__onModelSelectionChange where
the selection is only changed if a non-null value is added.
Unfortunately, removing that check causes a ton of selection unit tests
to break, so we'll need to take a closer look to find a solution. Could
you please open a report for this issue? Make sure to include your
Playground link when you do, thanks.


Regards,
Daniel

On 27.02.2015 11:48, Peter Schneider wrote:
> Hi there,
> 
> I have a form (+controller) that uses -among others- a SelectBox with one
> ListItem that has a model value of <null>.
> 
> It seems that selecting *that* item does not trigger the "changeBubble" event
> of the model...
> 
> See playground example:
>    http://tinyurl.com/qgxxzk6
> 
> The '0' (zero) item works however, but I have to distinguish <null> from zero!
> 
> Is this intentional or a bug? or did I miss something important here?
> 
> Thanks in advance for any tip/hint,
>    Peter
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to