Liking cljdoc? Tell your friends :D

web.primitives.sdk.date-picker

EddDatePicker / RawDatePicker.

MUI v9 renders a sectioned field: el-id lands on a hidden input and the visible value lives in Day / Month / Year spinbutton sections. These functions hide that so tests only deal with "dd.MM.yyyy" strings.

EddDatePicker / RawDatePicker.

MUI v9 renders a sectioned field: el-id lands on a hidden input and the
visible value lives in Day / Month / Year spinbutton sections. These
functions hide that so tests only deal with "dd.MM.yyyy" strings.
raw docstring

blank?clj

(blank? el-id)

True when no date has been entered (sections show DD.MM.YYYY).

True when no date has been entered (sections show DD.MM.YYYY).
raw docstring

blur!clj

(blur! _el-id)

Tab out of the field so validation runs.

Tab out of the field so validation runs.
raw docstring

clear!clj

(clear! el-id)

Select every section and delete it.

Select every section and delete it.
raw docstring

error?clj

(error? el-id)

True when the field is rendered in its error state. Polls so validation triggered by blur has time to apply the error class.

True when the field is rendered in its error state. Polls so validation
triggered by blur has time to apply the error class.
raw docstring

helper-textclj

(helper-text el-id)

Helper / validation text under the field, or nil. Polls so validation triggered by blur has time to render the helper element.

Helper / validation text under the field, or nil. Polls so validation
triggered by blur has time to render the helper element.
raw docstring

open-calendar!clj

(open-calendar! el-id)

set-date!clj

(set-date! el-id ddmmyyyy)
(set-date! el-id ddmmyyyy delay-ms)

Type a "dd.MM.yyyy" date.

Type a "dd.MM.yyyy" date.
raw docstring

type-date!clj

(type-date! el-id digits)
(type-date! el-id digits delay-ms)

Type digits into the field starting at the day section. digits like "15052024". Optional delay-ms between keys (default 50) simulates human typing, which matters for the day-first regression.

Type digits into the field starting at the day section.
`digits` like "15052024". Optional `delay-ms` between keys (default 50)
simulates human typing, which matters for the day-first regression.
raw docstring

valueclj

(value el-id)

Displayed value as "dd.MM.yyyy" (placeholders like "DD" when empty).

Displayed value as "dd.MM.yyyy" (placeholders like "DD" when empty).
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close