Hi Massimo,

I'm using web2py 1.89.1.

Is this fixed in the latest version?.

Thanks,

   Carlos

On Dec 16, 1:22 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> which version? I remember fixing this bug some time ago.
>
> On Dec 15, 11:04 pm, Carlos <carlosgali...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi weheh,
>
> > No, I'm not changing the requires statement.
>
> > It's weird because it only changes widget when I select at least one
> > option.
>
> > If I don't select any option and the submit fails with validation
> > errors, then the widget stays the same (without changing to the
> > separate options list).
>
> > Thanks,
>
> >    Carlos
>
> > On Dec 15, 9:52 pm, weheh <richard_gor...@verizon.net> wrote:
>
> > > I've seen the list:string present as the separate options list widget
> > > if multiple=True is missing from the requires. Could it be that after
> > > a failed submit you are somehow changing the requires statement?
>
> > > On Dec 15, 9:41 pm, Carlos <carlosgali...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I've noticed that a "list:string" field, after a failed submit (with
> > > > validation errors) and when at least one value is selected, changes
> > > > from multiple select widget to the separate options list widget.
>
> > > >    Field('test', 'list:string', requires=IS_IN_SET(['a','b','c'],
> > > > multiple=True))
>
> > > > This occurs with new (create) and existing (update) records.
>
> > > > Is this a bug?.
>
> > > > Thanks,
>
> > > >    Carlos

Reply via email to