Hi,

I just installed the latest version (1.89.5), and it seems this has
been solved.

Thanks!,

   Carlos


On Dec 16, 10:10 am, Carlos <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
>
>
>
>
>
>
> > which version? I remember fixing this bug some time ago.
>
> > On Dec 15, 11:04 pm, Carlos <[email protected]> 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 <[email protected]> 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 <[email protected]> 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