Hi Jean-Baptiste,

On Friday April 30 2010 09:09:45 Jean-Baptiste BRIAUD -- Novlog wrote:
> Another spinner limitation : no null value allowed.
As far as I can see the "value" property does support "null" values. Do you 
mean the "minimum" and "maximum" values?

> I'm not waiting for null string to be shown, but like other field, blank
> field should be allowed if user doesn't interact with spinner otherwise, 0
> will be the value instead of NULL in the database. Finally, because of all
> that limitations, I found the Spinner not so powerful for business forms
> because it acts like mandatory field.
>
> I would propose the following as wanted enhancement for Spinner widget if
> it is shared by other qooxdoo dev, otherwise, I'll do it in a way or
> another on my own code but I think there is real added value to add that
> enhancements at qooxdoo level :

 
> 1. default behavior without any user interaction, like all other field,
> blank with corresponding js value : null. 
The question here is what the widget should do when the user is using the 
arrow control the first time. Begin with the min value? Start between min and 
max?
I do think "0" is a sensible default here.

> 2. a way to specify the value of the Spinner in case the entered value if
> max or < min (so it is 2 values to optionally specify) 
The spinner is defining the limits so the developer does not need to care about 
the values which are out of the range. So it's a core feature of the spinner 
:)

> 3. less important : a way to have a spinner without min and max, just like a 
> field with arrow.
I guess this has to be implemented in an own widget, because it's too far away 
from the core functionality of a spinner.

cheers,
  Alex

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

Reply via email to