-
Guide
Tags
API
What's new
tags
- Introduction
Objects
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
Controls
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- TextArea
- Taxonomy
- TimeSeriesLabels
- Filter
Visual
- Header
- Style
- Table
- View
TextArea
TextArea tag shows the textarea for user input
Parameters
| Param | Type | Default | Description |
|---|---|---|---|
| name | string |
name of the element | |
| toName | string |
name of the element that you want to label if any | |
| value | string |
||
| [label] | string |
label text | |
| [placeholder] | string |
placeholder text | |
| [maxSubmissions] | string |
maximum number of submissions | |
| [editable] | boolean |
false |
editable textarea results |
| [rows] | number |
number of rows in the textarea | |
| [required] | boolean |
false |
validation if textarea is required |
| [requiredMessage] | string |
message to show if validation fails | |
| [showSubmitButton] | boolean |
show submit button or hide it, itβs shown by default when rows is more than one (i.e. textarea mode) | |
| [perRegion] | boolean |
use this tag for region labeling instead of the whole object labeling |
Example
<View>
<TextArea name="ta"></TextArea>
</View>