Skip to content

UsePhoneInputOptions

countries?: string[];

country?: string;

defaultCountry?: string;

defaultValue?: string;

disabled?: boolean;

id?: string;

locale?: string;

maxLength?: number;

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

void


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

void


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

void


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

void


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

void


readOnly?: boolean;

value?: string;