DateField
View Source
Props
Themeable
Accepts Input props.
Use the dateField key in ThemeProvider to customize the default properties of this component.
calendarProps
ComponentPropsAccepts any valid Calendar props.
defaultOpen
booleanControls the initial Popover state: open or closed (default).
formatValue
stringFormat the displayed date using date-fns format function.
keepInView
booleanAttempts to keep popover in view clipping edges if too large.
lockScrollWhileOpen
booleanLocks external scrollbars when open.
maxDate
DateThe maximum date that can be chosen.
minDate
DateThe minimum date that can be chosen.
onChange
(date: Date) => voidCalled when a date has been selected.
placement
stringDetermines where the popover is placed.
popoverProps
ComponentPropsAccepts any valid Popover props.
value
Date | undefined | nullThe date that will be selected.