(field key {:keys [label required extra-class] :as options})
Creates a form field with label, input type is created dynamically selected from type and extensible using create-field multimethod.
Creates a form field with label, input type is created dynamically selected from type and extensible using create-field multimethod.
(field-component opts & body)
Adds an optional error or warning message to the field, the body received is always wrapped inside a <div>.
Adds an optional error or warning message to the field, the body received is always wrapped inside a <div>.
(form entity owner {:keys [title subtitle errors validation]} & body)
Macro to create a form, binds errors and entity to be accesible inside the form by every rendered component.
Macro to create a form, binds errors and entity to be accesible inside the form by every rendered component.
(helper-input helper body)
If a bootstrap helper plugin is specified input field is rendered inside a helper div
If a bootstrap helper plugin is specified input field is rendered inside a helper div
(section title & body)
Macro to create a header field section (also known as fieldset)
Macro to create a header field section (also known as fieldset)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close