Date Picker Test

Date and date-range entry: a text field that parses typed dates, plus a calendar popover.

Default (closed)

Type a date, then choose a different day in the calendar by pointer or keyboard. The visible text and committed value update together.

Open

Click the calendar button to open the popover.

Open with shortcuts

Custom shortcuts appear alongside the Today button.

Month grid

Click the month label to switch to a month grid, then click a month to return to the day view.

Year grid

From the month grid, click the year label to see a year grid.

Range in progress

Range mode after selecting the start date but before the end. The second click is armed.

Range selected

A completed range selection. Select a new start and end; both endpoints appear immediately when the calendar closes.

Two-month range (open)

In range mode at 600px or wider, two months are shown side by side.

Disabled dates

Weekends are disabled via the disabledDates predicate.

Week numbers

ISO week numbers shown in a leading column.

Typed invalid

After typing unparseable text and blurring, the field shows a type mismatch error.

All sizes

Small, medium (default), and large.

Flipped up

When there is not enough space below, the calendar opens above the field.

Dark theme

The same component in dark theme. Toggle the theme switch in the toolbar to compare.

Native reporting fieldset state

The fieldset supplies the group name and ancestor disabled state. Writing disabled=false to a child cannot bypass its disabled parent; the current value survives disabling and re-enabling.

Reporting snapshot

Reporting fieldset is enabled.