cubicweb/web/formfields.py
changeset 11244 4d2a7d6c9390
parent 11240 1694e6e9ff94
child 11767 432f87a63057
equal deleted inserted replaced
11242:b05c7a96d621 11244:4d2a7d6c9390
   138     :attr:`widget`
   138     :attr:`widget`
   139        widget associated to the field. Each field class has a default widget
   139        widget associated to the field. Each field class has a default widget
   140        class which may be overriden per instance.
   140        class which may be overriden per instance.
   141     :attr:`value`
   141     :attr:`value`
   142        field value. May be an actual value or a callable which should take the
   142        field value. May be an actual value or a callable which should take the
   143        form as argument and return a value.
   143        form and the field as argument and return a value.
   144     :attr:`choices`
   144     :attr:`choices`
   145        static vocabulary for this field. May be a list of values, a list of
   145        static vocabulary for this field. May be a list of values, a list of
   146        (label, value) tuples or a callable which should take the form and field
   146        (label, value) tuples or a callable which should take the form and field
   147        as arguments and return a list of values or a list of (label, value).
   147        as arguments and return a list of values or a list of (label, value).
   148     :attr:`required`
   148     :attr:`required`