Liking cljdoc? Tell your friends :D

om-widgets.forms


*entity*cljs

source

*errors*cljs

source

*owner*cljs

source

*validation-rules*cljs

source

buttonclj/smacro

(button action {:keys [text location on-click on-valid icon style disabled]})
source

button-classclj/smacro

(button-class location style)
source

button-clickedcljs

(button-clicked owner entity rules continuation)
source

class-from-optsclj/smacro

(class-from-opts opts)

Creates

Creates
sourceraw docstring

columnclj/smacro

(column width & fields)
source

create-fieldcljmultimethod

source

fieldclj/smacro

(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.
sourceraw docstring

field-componentclj/smacro

(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>.
sourceraw docstring

formclj/smacro

(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.
sourceraw docstring

helper-inputclj/smacro

(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
sourceraw docstring

rowclj/smacro

(row & cols)
source

sectionclj/smacro

(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)
sourceraw docstring

set-errorcljs

(set-error owner error-msg)
source

set-successcljs

(set-success owner)
(set-success owner msg)
source

validatecljs

(validate entity rules messages)
source

validate-keycljs

(validate-key owner key entity rules)
source

with-ownerclj/smacro

(with-owner owner & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close