Phone
Allows users to submit a phone number.
Allows users to submit a phone number.
| Field | Value |
|---|
| Name | xp/form-field-phone |
| Title | Phone |
| Category | xpac-form-generic-field |
| API version | 3 |
| Keywords | xpac, form, field, phone |
| Package | forms |
| Metadata file | dist/packages/forms/blocks/phone/block.json |
| Feature | Value |
|---|
className | Disabled |
| Name | Type | Default | Source/Enum |
|---|
additionalAttributes | object | {} | — |
description | string | "" | source html; selector .xp-block-form-field__description |
id | string | "" | — |
label | string | "Untitled" | — |
labelVisibility | string | "visible" | enum "visible", "hidden" |
mask | string | "" | — |
name | string | "" | — |
placeholder | string | "" | — |
rules | object | {"required":{"value":false,"message":""}} | — |