Defines the desired user interface is a single-line text box.

Referenced by: formFieldElement

Properties

PropertyDetails
maxLengthThis represents the maximum number of characters allowed. This only applies for string fields. If not supplied, the value is derived from the length property of the referenced field in the service.
minLengthThis represents the minimum number of characters allowed. This only applies for string fields. If not supplied, the value is 0, meaning there is no minimum constraint.
typeThe input type identifier.
Valid value of this property text-box

Example

{
"type": "text-box",
"maxLength": 100,
"minLength": 0
}