You might pass a sequence or dictionary instead of single arguments:

IS_IN_SET([A, B, C])

or

IS_IN_SET({"a": a, "b": b, ...})

Seems that IS_IN_SET is reading the input as a list of characters

On 15 dic, 08:29, "Chandrakant Kumar" <k.03chan...@gmail.com> wrote:
> I'm adding extra fields to auth_user as,
>         auth.settings.extra_fields['auth_user']= [
>                 Field('user_type', requires=IS_IN_SET('Admin', 'Staff'))]
>
> But, in the Register form I'm getting a listbox with single letter options
> like, a, d, m, i, n.
> Is there something missing?

Reply via email to