The record drawer: one record beside its list, opened by clicking its row.
Read-only, rendered by the same display roles as the list cells (ADR-040), so a relation is a name, an enum a badge, money formatted. Editing stays on the detail page; the drawer links there. Pure Hiccup.
The record drawer: one record beside its list, opened by clicking its row. Read-only, rendered by the same display roles as the list cells (ADR-040), so a relation is a name, an enum a badge, money formatted. Editing stays on the detail page; the drawer links there. Pure Hiccup.
(fields entity-config)The fields the drawer lists: the detail fields (else the field order, else every field), without the hidden ones, the primary key and the title, which is the heading.
The fields the drawer lists: the detail fields (else the field order, else every field), without the hidden ones, the primary key and the title, which is the heading.
(record-drawer entity-name
entity-config
record
{:keys [display related-records return-to permissions]})The drawer for record.
opts: :display zone, locale and patterns, with :overview for titles :related-records [[rel rows] …] as the detail page builds them :return-to the list the drawer was opened from, kept on the Edit link :permissions the user's flags for this entity
The drawer for `record`. opts: :display zone, locale and patterns, with :overview for titles :related-records [[rel rows] …] as the detail page builds them :return-to the list the drawer was opened from, kept on the Edit link :permissions the user's flags for this entity
The element on the list page the drawer is swapped into.
The element on the list page the drawer is swapped into.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |