Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino_vuejs.vuejs.views

Functions

choices(request[, app_label, actor, field, an])

If field is specified, return a JSON object with two attributes count and rows, where rows is a list of (display_text, value) tuples.

delayed_value(request[, app_label, actor, ...])

language_info(django_code, current_lang)

logout(request)

user_settings(request)

Classes

ApiElement(**kwargs)

ApiList(**kwargs)

DashboardItem(**kwargs)

Index(**kwargs)

MainHtml(**kwargs)

ViteDevIndex(**kwargs)

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.