Date Picker — Playground

px
format
messages
State
html.html
<kui-field label="Meeting date">
  <input kuiDatePicker [(value)]="date" />
  <kui-dropdown panelRole="dialog" panelWidth="auto" maxHeight="420px">
    <kui-calendar flat showFooter />
  </kui-dropdown>
</kui-field>
Date picker events
  • No events yet.
NameTypeDefaultDescription
input[kuiDatePicker]Directive-Turns a native text input into a masked date picker trigger.
[(value)]Date | nullnullSelected date. Bind the same signal to the paired calendar.
[(viewDate)]Datecurrent monthVisible calendar month. Bind on both input and calendar for live month sync.
minDate / maxDateDate | undefinedundefinedInclusive bounds for typed values and linked calendar cells.
clearableboolean | undefinedfield optionShows a clear action when the input has a value.
disabledbooleanfalseDisables the input and prevents opening the dropdown.
readonlybooleanfalseKeeps the value readable while preventing popover opening.
invalidbooleanfalseReflects validation state from Signal Forms or direct binding.
errors / touched / touchSignal Forms control contract-Integrates with Angular Signal Forms validation and touched state.
placeholderstring | undefinedlocale layoutNative input placeholder. Defaults to the day, month and year placeholder messages in the order and separators of the locale (mm/dd/yyyy, dd.mm.yyyy).
idstring | undefinedfield control idInput id. Falls back to the parent kui-field control id when present.
kui-dropdown panelRole'dialog' | 'listbox' | 'grid' | null'listbox'Use dialog for the calendar popover because the panel is not a listbox.
kui-calendar flatbooleanfalseUse flat inside the dropdown so the calendar does not draw a second frame.
formatstring | undefined'locale'Display and parse layout: d/dd, M/MM and yyyy tokens such as dd.MM.yyyy pin it. Resolves as the input, then defaults.datePicker.format, then the locale layout.
messagesPartial<KuiDatePickerMessages> | undefinedundefinedPer-instance text overrides (openCalendar, closeCalendar and the day, month and year placeholder tokens). They win over scoped and root messages.
KuiDatePickerOptionsinterface-Shape of defaults.datePicker: clearable, format, chevronIcon and clearIcon (they take precedence over defaults.icons.pickerChevron and defaults.icons.clear).

Directive inputs, outputs, provider defaults, messages and paired calendar composition verified against @kikita-labs/ui v2.0.0 public typings.