diff --git a/src/.vuepress/public/.attachments/applications/Controls/phonepickerbase.png b/src/.vuepress/public/.attachments/applications/Controls/phonepickerbase.png new file mode 100644 index 000000000..624293f03 Binary files /dev/null and b/src/.vuepress/public/.attachments/applications/Controls/phonepickerbase.png differ diff --git a/src/en/developer-guide/applications/controls/phonepicker.md b/src/en/developer-guide/applications/controls/phonepicker.md index 050183a6f..6954f3048 100644 --- a/src/en/developer-guide/applications/controls/phonepicker.md +++ b/src/en/developer-guide/applications/controls/phonepicker.md @@ -1,35 +1,161 @@ --- -Author: Jan Losenicky +Author: Safija Hubljar --- - # Phone Picker -# Visual Example - -![Email Picker Displayed On Form](/.attachments/applications/Controls/phonepickercontrol.png) +
Provides features that extend the native Phone field control. Most notably:
-# Description +- **Autoformat**: Inputed number gets automatically formated based on provided country code. This includes automatic detection of country prefix. +- **Verification** (optional): If enabled, the control will check if the provided number has been verified (through SMS OTP). Verification status is displayed directly in the control. If not verified, the user has the option to trigger verification directly through the control. -This control is used to enter a phone number in field. It is checking the format of phone and also there is a function to verify the phone. -# Binding Field + -Control can be binded to field of type SingleLine.Phone, SingleLine.Text and SingleLine. +## Bindings -# Inputs +Property Name | +Description | +Of Type | +Input | +Output | +Usage | +Required | +
---|---|---|---|---|---|---|
phoneNumber | +Phone number field | +
+
SingleLine + |
+ 111 222 333
+
|
+
|
+ bound |
+ true |
+
entityName | +Entity name of the record the PhonePicker is on. Required if verification feature is on. |
+ SingleLine.Text |
+
+ account
+ |
+ N/A | +input |
+ false |
+
defaultCountryCode | +Default Country code. CZ by default | +SingleLine.Text |
+
+ CZ
+ |
+ N/A | +input |
+ false |
+
placeholderMessage | +Placeholder message | +SingleLine.Text |
+
+ ---
+ |
+ N/A | +input |
+ false |
+
verificationFeature | +Enable the functionality for verification phone number. | +Enum |
+
+
|
+ N/A | +input |
+ true |
+
verificationDialogDisabled | +Field for disabling the verification dialog. | +Enum |
+
+
|
+ N/A | +input |
+ false |
+
enforceMobile | +Enforces the use of a mobile number or allows a landline. | +Enum |
+
+ |
+ N/A | +input |
+ false |
+
callFeature | +Enable call functionality. | +Enum |
+
+ 0 +1 + |
+ N/A | +input |
+ false |
+
plainPhone | +Binding field returning plain phone number | +
+
|
+
|
+
|
+ bound |
+ false |
+
clickToCopyEnabled | +Enable click to copy button. | +Enum |
+
+
false + |
+ N/A | +input |
+ false |
+