Liking cljdoc? Tell your friends :D

reacl-c-basics.forms.core

The basic form elements (input, select, textbox) as items with corresponding states. The select item also supports any kind of values for the option :value attribute, not just strings.

Additionally, the new attributes :invalid and :validate are supported for all of them, allowing for a declarative way to use [[setCustomValidity]] on the dom nodes. An attribute :report-validity can be set to true on input items and form to call reportValidity on them on every state change.

The basic form elements (input, select, textbox) as items with
corresponding states. The [[select]] item also supports any kind
of values for the [[option]] `:value` attribute, not just strings.

Additionally, the new attributes `:invalid` and `:validate` are
supported for all of them, allowing for a declarative way to
use [[setCustomValidity]] on the dom nodes. An attribute
`:report-validity` can be set to true on input items and [[form]] to
call `reportValidity` on them on every state change.
raw docstring

formcljs

(form & args__8713__auto__)

The same as [[reacl-c.dom/form]], but with the additional attribute :report-validity.

The same as [[reacl-c.dom/form]], but with the additional attribute `:report-validity`.
sourceraw docstring

inputcljs

(input & args__8713__auto__)

An item representing its state in an input element depending on the given :type attribute.

An item representing its state in an input element depending on the given `:type` attribute.
sourceraw docstring

optgroupcljs

(optgroup & args__8713__auto__)

An optgroup item usable to group option items in a select.

An optgroup item usable to group [[option]] items in a [[select]].
sourceraw docstring

optioncljs

(option & args__8713__auto__)

An item the can be used inside a select element to define a selectable option. The attribute :value can be any value, and the contents should be the text shown to the user.

An item the can be used inside a [[select]] element to define a
selectable option. The attribute `:value` can be any value, and the
contents should be the text shown to the user.
sourceraw docstring

selectcljs

(select & args__8713__auto__)

A select element that allows options to have arbitrary values. If the :multiple attribute is set, then the state of this item must be a list of values or nil.

A select element that allows options to have
arbitrary values. If the `:multiple` attribute is set, then the
state of this item must be a list of values or nil.
sourceraw docstring

textareacljs

(textarea & args__8713__auto__)

An item representing its string state in a textual multiline input element.

An item representing its string state in a textual multiline input element.
sourceraw docstring

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

× close