For the managed package runtime, Text Input element properties are configurable in the Properties panel when you select a Text Input element in the Flexcard Designer. Enable users to enter a single line of text.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
See Add a Text Input Element to a Flexcard (Managed Package).
|
Required Versions |
|---|
|
Available beginning Winter '22. |
|
Property |
Description |
Reference |
|---|---|---|
|
Custom Attributes |
Configure additional properties available to the Input element. See the related base LWC ReadMe for information about a specific attribute. |
Input Lightning Web Component ReadMe (Managed Package) when type = text |
|
Default Value |
Select the default value from a list of data merge fields, or enter plain text. |
N/A |
|
Field Binding |
Bind the value of the input element to an existing or new data field. |
|
|
Field Label |
Enter the label that appears next to the element. |
N/A |
|
Help Text |
Enter helpful text about the purpose of the input field. Adds an info icon (i) next to the element's label, which when hovered over displays the text. |
N/A |
|
Mask |
Provide an input mask that formats the value. For example, to capture product Ids like dX-64887, enter aa-99999. When you set the Mask property on text fields, Salesforce shows the default error message instead of custom error messages for those fields. |
N/A |
|
Maximum Length |
Enter the maximum number of characters the user can enter. |
N/A |
|
Minimum Length |
Enter the minimum number of characters the user must enter. |
N/A |
|
Placeholder |
Enter temporary text that displays inside the input field and suggests to the user what to enter. |
N/A |
|
Read-only |
Disable the ability to modify the input values. |
N/A |
|
Required |
Make field required. |
N/A |