Date input

A text input that picks a date or a date range from a calendar

Contents

Datepicker

Disable via [disabled]="true" attribute and FormControl's status

Disable Input
Inputs in Disabled
disabled : boolean
Also set in this example
control : FormControl<T>
type : IsAny<T> extends true ? any : [T] extends [Date] ? DateInputType.DATE : [T] extends [any] ? DateInputType.DATERANGE : never

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.

id ?: string
Outputs
iconEndClick ?: any = new EventEmitter<MouseEvent>()
iconStartClick ?: any = new EventEmitter<MouseEvent>()
onBlur ?: any = new EventEmitter<void>()
onFocus ?: any = new EventEmitter<void>()