Filter

Use the Filter tag to add a filter search for a large number of labels or choices. Use with the Labels tag or Choices tag.

Parameters

Param Type Default Description
[placeholder] string ""Quick Filter"" Placeholder text for filter
[minlength] number 3 Size of the filter
[style] string CSS style of the string
[hotkey] string Hotkey to use to focus on the filter text area

Example

Add a filter to labels for a named entity recognition task

<View>
  <Filter name="filter" toName="ner"
          hotkey="shift+f" minlength="0"
          placeholder="Filter" />
  <Labels name="ner" toName="text" showInline="false">
    <Label value="Person" />
    <Label value="Organization" />
  </Labels>
  <Text name="text" value="$text" />
</View>
Try Enterprise Cloud for free Get Started