Rxova
Skip to content

UsePhoneInputOptions

optional countries?: string[];

optional country?: string;

optional defaultCountry?: string;

optional defaultValue?: string;

optional disabled?: boolean;

optional id?: string;

optional locale?: string;

optional maxLength?: number;

optional onBlur?: (event) => void;
ParameterType
eventFocusEvent<HTMLElement>

void


optional onChange?: (value, details) => void;
ParameterType
valuestring
detailsPhoneDetails

void


optional onCountryChange?: (iso2) => void;
ParameterType
iso2string

void


optional onFocus?: (event) => void;
ParameterType
eventFocusEvent<HTMLElement>

void


optional onWarn?: (warning) => void;
ParameterType
warningPhoneWarning

void


optional readOnly?: boolean;

optional value?: string;