logofirst
logofirst

Labels

Labels tag, create a group of labels

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
[maxUsages] number maximum available usages
[required] boolean false validation if label is required
[requiredMessage] string message to show if validation fails
[showInline] boolean true show items in the same visual line

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>