Skip to content

formatPhoneInput

function formatPhoneInput(value): string;

Defined in: input.ts:94

Formats a Pakistani mobile number as the user types: 0300-1234567, or +92 300 1234567 when the user starts with the country code.

Parameter Type Description
value string Current input value

string

Value to show in the input