ITextFilterBodyProps
Home > @gooddata/sdk-ui-filters > ITextFilterBodyProps
ITextFilterBodyProps interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Props for TextFilterBody component.
Signature:
export interface ITextFilterBodyProps
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(ALPHA) Attribute title for context | ||
|
string[] |
(ALPHA) (Optional) Autocomplete suggestions for the values input (is / is not operators). Populated from the loaded attribute elements so the user can pick known values. | ||
|
(ALPHA) (Optional) Available text sub-modes. | |||
|
boolean |
(ALPHA) Case sensitive flag for like operators | ||
|
boolean |
(ALPHA) (Optional) Whether the filter is disabled | ||
|
boolean |
(ALPHA) (Optional) True if empty-literal validation should be shown. | ||
|
boolean |
(ALPHA) (Optional) True if empty-values validation should be shown. | ||
|
boolean |
(ALPHA) (Optional) True when value limit exceeded (truncated) - error shown, Apply disabled. | ||
|
boolean |
(ALPHA) (Optional) True when at value limit (values.length === max) - warning shown, Apply enabled. | ||
|
boolean |
(ALPHA) (Optional) Whether autocomplete is currently loading results from the backend. | ||
|
string |
(ALPHA) Literal for like operators (when not using chips) | ||
|
(searchString: string) => void |
(ALPHA) (Optional) Optional callback to trigger a search for autocomplete suggestions. When provided, this will be called as the user types to fetch matching elements from the backend. | ||
|
() => void |
(ALPHA) (Optional) Callback when literal field loses focus. | ||
|
(literal: string) => void |
(ALPHA) (Optional) Callback when literal changes (for other operators) | ||
|
(operator: TextFilterOperator) => void |
(ALPHA) (Optional) Callback when operator changes | ||
|
() => void |
(ALPHA) (Optional) Callback to toggle case sensitivity | ||
|
() => void |
(ALPHA) (Optional) Callback when values input loses focus. | ||
|
(values: Array<string | null>) => void |
(ALPHA) (Optional) Callback when values change (for is/is not) | ||
|
(ALPHA) Current operator | |||
|
Array<string | null> |
(ALPHA) Current values (chips for is/is not) or literal (single input for others) |