[Dojo-interest] NumberTextBox does not allow submit as if it was required although it shouldn't be
wkeese at gmail.com
Sun Aug 2 06:50:22 EDT 2009
That's a good question, I can't imagine why the arrows wouldn't work unless
required=true... and also that book page was written a long time ago so it
may no longer be accurate.
The required:true code is from
http://bugs.dojotoolkit.org/ticket/2762, but I don't really understand that
bug report. The "buggy example" and "ok example" look the same to me.
On Sat, Aug 1, 2009 at 10:34 PM, Max Gordon <dr.max.gordon at gmail.com> wrote:
> Now, the NumberSpinner part: Is it still true that the NumberSpinner
> has to be required as in the book: "Defaults to true in NumberSpinner
> because the arrows won't work otherwise."
> When I in dojo/dijit/form/NumberSpinner.js comment out the "required:
> true,"-line the arrows still work without any issues (Firefox 3.0 in
> Ubuntu). What browsers are affected by this strange
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at mail.dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest