A text input that picks a date or a date range from a calendar
Split out of the input component so the Material datepicker is only downloaded by the routes that actually need it. Everything else about the field — sizes, labels, icons, validation — behaves exactly as it does on an input.
Contents
Used to select two dates while staying in the same context.
You can set min/max dates to restrict the date range that can be selected.
Whether the field picks a single date or a date range. A `FormControl<Date>` accepts `DATE`; a `FormControl<DateRange>` accepts `DATERANGE`, which renders separate start and end fields.
Set how to horizontally align the number increment input
Improves UX for form fields like Usernames, Emails, Company Names, etc. Autocomplete defaults to 'on' but you can disable it with 'off'. If you wish to use more specific tokens like 'given-name' and 'family-name', see the link below.
Set the background color of the input component
Not for general use. This is only for Messaging search. If you'd like to use this input, make sure you discuss with UI Eng
Not for general use. This is only for browse mobile page. If you'd like to use this input, make sure you discuss with UI Eng
Force color white for transparent cases in light mode.
This input only works on mobile when the type is `DateInputType.DATE`. If true, the date icon will be hidden on mobile.
First validation happens only on blur, and validates on keyup once an error exists
Not for general use. This is only for larger title inputs of type TEXT. If you'd like to use this input, make sure you discuss with UI Eng
Not for general use. This is only for search. If you'd like to use this input, make sure you discuss with UI Eng
Displays hint under input field upon focus
Not for general use. This is only for browse mobile page. If you'd like to use this input, make sure you discuss with UI Eng.
Not for general use. This is only for search. If you'd like to use this input, make sure you discuss with UI Eng
Hints the browser what kind of virtual keyboard to display when the input is focused.
Sets aria label for accessibility when there is no associated visible text
Maximum selectable date for the datepicker.
Minimum selectable date for the datepicker.
Set a minimum value for number inputs
Shake input on blur event
Highlight input field when date value is set
If false, the increment buttons will be hidden. Applies to InputType of NUMBER_TEXT and NUMBER.
Immediately check state of input with validation