isomer.schemata.defaultform module

area_field(key='area')[source]

Provides a select box for country selection

country_field(key='country')[source]

Provides a select box for country selection

create_object(key, lookup_type)[source]

Returns a lookup button to inspect a selected object

emptyArray(key, add_label=None)[source]

An array that starts empty

event_button(key, title, target, action, data=None)[source]

Template for an event emitting button

fieldset(title, items, options=None)[source]

A field set with a title and sub items

horizontal_divider()[source]

Inserts a horizontal ruler/divider

lookup_field(key, lookup_type=None, placeholder=None, html_class='div', select_type='strapselect', mapping='uuid', search_filter=None)[source]

Generates a lookup field for form definitions

lookup_field_multiple(key, subkey=None, button='Add', lookup_type=None, placeholder=None, html_class='div', select_type='strapselect', mapping='uuid')[source]
lookup_object(key, lookup_type=None, actions=None)[source]

Returns a lookup button to inspect a selected object

rating_widget(key='rating', maximum=10)[source]

A customizable star rating widget

section(rows: int, columns: int, items: list, label: str = None, condition: str = None)[source]

A section consisting of rows and columns

Parameters:
  • rows (int) – Number of rows
  • columns (int) – Number of columns
  • items (list) – Section items
  • label (str) – Optional label - if you use this, unpack the section with *section(.., label="foo") in your form
  • condition (str) – A angular-schema-form model condition
Returns:

A complex form section object

tabset(titles, contents)[source]

A tabbed container widget

test()[source]

Development function to manually test all widgets