diff --git a/addons/phone/API/index.html b/addons/phone/API/index.html index 8d45f9bb9..624b0cbc7 100644 --- a/addons/phone/API/index.html +++ b/addons/phone/API/index.html @@ -30,7 +30,7 @@ -

Phone PHONE

Description and examples API
-
Name and descriptionType Value
[metadata]
List of phone number parsing and formatting rules for all countries.

The complete list of those rules is huge, so libphonenumber-js provides a way to optimize bundle size by choosing between max , min , mobile metadata.

MetadataJson
'min'
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
- +

Phone PHONE

Description and examples API
-
Name and descriptionType Value
[metadata]
List of phone number parsing and formatting rules for all countries.

The complete list of those rules is huge, so libphonenumber-js provides a way to optimize bundle size by choosing between max , min , mobile metadata.

MetadataJson
'min'
[countryIsoCode]
Country ISO-code
string
'RU'
[strict]
If true, it allows to enter only phone number of selected country (see countryIsoCode property). If false, all country phone number is allowed.

Default:true

boolean
[separator]
Separator between groups of numbers in a phone number (excluding country code and area code).

Default:-

string
'-'
+ \ No newline at end of file diff --git a/addons/phone/index.html b/addons/phone/index.html index acb802696..68c498893 100644 --- a/addons/phone/index.html +++ b/addons/phone/index.html @@ -29,7 +29,7 @@ -

Phone PHONE

Description and examples API

This mask is based on the libphonenumber-js package.

Use maskitoPhoneOptionsGenerator to create a mask for phone input.

basic

#

Kazakhstan phone example