A field for entering a short text, not more than a line. To add a field for entering multiple lines of text, use field.textarea.

View example

Component properties

type*"field.text"Set component type.
data*writableData with values that will be processed or changed.
labelstringLabel above the component.
disabledbooleanIf true, editing is not available.
hintstringHint text.
placeholderstringA semi-transparent label that is shown in the box when it is empty.
requiredMarkbooleanShow "*" next to the label
rtlobjectIn some languages, like Arabic or Hebrew, text is written from right to left. Use this property to set up the correct display mode for the component.

View example

Learn more about RTL languages.

Display mode:

  • ltr — left to right.
  • rtl — right to left.

    The chosen value will be added to the dir attribute in the component's HTML code. Learn more about dir.
validationconditionValidation based on condition.
Contact support
Getting started
Important tips
Useful recommendations
Working with Toloka
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
Frequently asked questionsTroubleshootingSupportGlossary