We offer 3 component types for selecting or inputting dates:
States
Best practices
- Allow a user to enter dates in shorthand or common formats. Convert dates to a format accepted by the database behind the scenes. See guidelines for capturing numeric data.
- Do not use placeholder text as it can cause usability and accessibility issues. Use a descriptive label and hint text instead. See the guidelines for using placeholder text.
- Change a permanently read-only date field to formatted text with no field border.