Labels

Labels tag, create a group of labels. Label piece of text for NER.

Parameters

Param Type Default Description
name string name of the element
toName string name of the element that you want to label
[choice] single | multiple single configure if you can select just one or multiple labels
[showInline] boolean true show items in the same visual line
[required] boolean false validation if choice has been selected
[requiredMessage] string message to show if validation fails

Example

<View>
  <Labels name="type" toName="txt-1">
    <Label alias="B" value="Brand" />
    <Label alias="P" value="Product" />
  </Labels>
  <Text name="txt-1" value="$text" />
</View>