Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino_vuejs.vuejs.views¶
Functions
|
If field is specified, return a JSON object with two attributes count and rows, where rows is a list of (display_text, value) tuples. |
|
|
|
|
|
|
|
Classes
|
|
|
|
|
|
|
|
|
|
|
- lino_vuejs.vuejs.views.choices(request, app_label=None, actor=None, field=None, an=None, **kw)¶
If field is specified, return a JSON object with two attributes count and rows, where rows is a list of (display_text, value) tuples. Used by ComboBoxes or similar widgets.
If fldname is not specified, returns the choices for the record_selector widget.
If an is specified, look for the field (/ data element) in action’s parameters list.