Represents the configuration options for a hosted field.Properties#
| Property | Type | Required | Description |
|---|
selector | string | ✅ Yes | The CSS selector used to identify the field. |
defaultValue | boolean | ❌ No | Defines a default value for the field. |
hiddenLabel | string | ❌ No | Defines a hidden label for accessibility purposes. |
inputType | InputTypeEnum | ❌ No | Specifies the input type for the field. |
isRequired | boolean | ❌ No | Defines whether the field is required. |
label | string | ❌ No | Specifies the label text for the field. |
maxCardLength | number | ❌ No | Defines the maximum length allowed for card numbers. |
placeholder | string | ❌ No | Specifies the placeholder text for the field. |
Type Definitions#
selector#
The CSS selector used to identify the field.defaultValue (optional)#
Defines a default value for the field.hiddenLabel (optional)#
Defines a hidden label for accessibility purposes.inputType (optional)#
Specifies the input type for the field.isRequired (optional)#
Defines whether the field is required.label (optional)#
Specifies the label text for the field.maxCardLength (optional)#
Defines the maximum length allowed for card numbers.placeholder (optional)#
Specifies the placeholder text for the field. Modified at 2026-02-02 22:10:25