Quartz Headless docs/InputOtpControlDirective

Search documentation

Type to search the documentation.

API: Forms

InputOtpControlDirective

Angular Forms adapter for qz-input-otp; value is a string and reset writes an empty string.

Overview

Angular Forms adapter for qz-input-otp; value is a string and reset writes an empty string.

Selector

qz-input-otp[formControl], qz-input-otp[formControlName], qz-input-otp[ngModel]

Public methods

writeValue

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

setDisabledState

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

onFocusOut

onFocusOut(event: FocusEvent): void
Parameter Type Optional Description
event FocusEvent

registerOnChange

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

registerOnTouched

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