type="multiple" to allow user to pick multiple dates:
type="range" to allow user to pick dates range:
valueFormat prop to change dayjs format of value label:
clearable prop to display clear button in the right section. Note that if you set
prop, clear button will not be displayed.
DatePickerInput component supports Input and Input.Wrapper components features and all
button element props.
DatePickerInput documentation does not include all features supported by the component – see Input documentation to learn about all available features.
DatePickerInput is used without
label prop, it will not be announced properly by screen reader:
aria-label to make the input accessible. In this case label will not be visible, but screen reader will announce it:
label prop is set, input will be accessible it is not required to set