Re: Re: empty list of options for SelectWidget

mario ruggier <[email protected]> Thu, 7 Sep 2006 20:19:01 +0200
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Sep 7, 2006, at 7:51 PM, Neil Schemenauer wrote:

> On Thu, Sep 07, 2006 at 01:48:09PM -0400, David Binger wrote:
>> Maybe SelectWidget should not render as a SELECT element when
>> there are less than 2 options.
>
> Yuck.  If there is really a need for this then it should be a
> different widget.  The basic widgets should correspond directly to
> form elements, IMO.

Should also point out that just because at server-side a select widget 
might be delivered with just 1 option, it does not mean that dom 
manipulation on client-side will not add/modify other options 
dynamically...

mario