Quartz Headless docs/DatePickerControlDirective

Search documentation

Type to search the documentation.

API: Forms

DatePickerControlDirective

Forms adapter for [qzDatePicker]; values are Date | null local civil dates.

Overview

Forms adapter for [qzDatePicker]; values are Date | null local civil dates.

Selector

[qzDatePicker][formControl], [qzDatePicker][formControlName], [qzDatePicker][ngModel]

Public methods

writeValue

writeValue(value: Date | null | undefined): void
Parameter Type Optional Description
value Date | null | undefined

setDisabledState

setDisabledState(disabled: boolean): void
Parameter Type Optional Description
disabled boolean

registerOnChange

registerOnChange(fn: (value: Date) => void): void
Parameter Type Optional Description
fn (value: V) => void

registerOnTouched

registerOnTouched(fn: () => void): void
Parameter Type Optional Description
fn () => void