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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
value |
string |
Current input value |
Returns
Section titled “Returns”string
Value to show in the input