Represents a search category configuration input.

Should handle all the logic related to autocomplete search configuration inputs. If this class has its type set to OPERATOR it works mostly as a placeholder object, because the operator and operand selection logic is handled by the Category class. This behavior might be changed in future releases.

Constructors

Properties

_autocompleteOptions: Map<string, unknown[]>

the autocomplete options that are available in this configuration input

_filteredOptions$: Observable<SearchAutocompleteOption<unknown>[]>
_formControl: FormControl<any>
_textInputConfirmed: boolean = false
displayBold: boolean

whether the configuration input should be displayed in bold after selection or not

label: string

the translation path for the label of the input

type:
    | TEXT
    | PLAIN_QUERY
    | AUTOCOMPLETE
    | OPERATOR

the type of the configuration input

Accessors

Methods