v14.2.0

Playroom

Github

DateField

View Source

Copy
Edit

Props

formatValuestring

Format the displayed date using date-fns format function.

Controls the initial Popover state: open or closed (default).

The minimum date that can be chosen.

The maximum date that can be chosen.

onChange(date: Date) => null

Called when a date has been selected.

placementstring

Determines where the popover is placed.

valueDate

The date that will be selected.

Accepts any valid Popover props.

  • Props
PreviousComboboxNextField