On Thu, 01 Mar 2007 10:31:18 -0600
Jim Steil <[EMAIL PROTECTED]> wrote:

> 
> Could someone take a look and see if this works for them, setting the 
> length of an AutoCompleteField via the attrs attribute?  I'd just
> like to know if I'm doing something wrong or if I should be
> submitting a bug....
> 
>     -Jim
> 
> Jim Steil wrote:
> > Hi:
> >
> > I'm using the AutoCompleteField widget and am passing the following:
> >
> > attrs=dict(size="100")
> >
> > However, my field isn't being resized.  From what I can tell in the 
> > Widget browser, this should be supported.  Can someone tell me if
> > it works for them and I'm just doing something wrong?  Or, is this
> > a bug that should be filed?
> >
> >    -Jim

Try attrs=dict(text=dict(size="100")).

The AutoCompleteField is a CompoundFormField.  The actual text input
you see is a sub-widget.

Jason

PS: Try not to top post...

Attachment: signature.asc
Description: PGP signature

Reply via email to