DatePicker
A date picker, popup calendar or date range picker is a graphical user interface widget which allows the user to select a date from a calendar.
Select a date
Actions
Use the showActions
property to display Apply/Cancel buttons at the bottom.
Feb 3, 1970
Custom labels
Use the labels
object to customize the internal labels of the date picker.
Custom placeholder
Controlled
Jan 2, 2020
Range mode
Use rangeMode
to enable the selection of a range of dates. When doing so, use startValue
and endValue
to set the initial values, instead of the value
prop.
2 - 10 Feb 2020
Restricted selection
You can restrict the selection of dates by setting the minimumDate
and maximumDate
properties.
Jan 15, 2020
Selection list
Custom content can be added to the Date Picker by using the startAdornment
property. This can be used to display a list of predefined dates, for example.
Sep 5, 2020