Skip to content

OptionCriterion Type documentation

It allows to specify a different value between the one which is rendered and the one which is used for the search.
Properties
The icon to be displayed besides value in the typeahead
iconClass?: string
The label to show
label?: TranslatableString
Shows whether the option is selected in the multi-select dropdown
selected?: boolean
The value to use on searching
value: string

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Translatable
import

Except where otherwise noted, content on this site is licensed under MIT License.