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.
(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`.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close