Skip to main content

Text input

The text input component allows you to get a string from the user.

Text input API

The following section details Text input component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Controls

This component can be controlled by frontend scripts using these functions:

NameParametersDescriptionExample
setValueid: string, value: anyManually set or force the value of a component.setValue(id: 'a', value: 17)

Text input configuration

NameTypeConnectableTemplatableDefaultDescription
PlaceholderstringfalsefalseType...The text input placeholder.
Default valuestringtruefalseThe default value of the text input.
Before IconstringfalsefalseUndefinedThe icon to display before the label.
After IconstringfalsefalseUndefinedThe icon to display after the label.
DisabledbooleanfalsefalsefalseWhether the text input should be disabled.

Outputs

NameTypeDescription
ResultstringThe text input value.