Skip to content

Date Field

The Date Field component let the user select a date with the keyboard.

Basic usage

Press Enter to start editing

Uncontrolled vs. Controlled

The component can be uncontrolled or controlled.

Press Enter to start editing

Customize the date format

Press Enter to start editing

Localization

Use the LocalizationProvider to change the date-library locale used in the time field. See the localization documentation page for more details.

Validation

See the documentation page validation documentation page for more details.

API

See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.