IArbitraryValuesInputProps
Home > @gooddata/sdk-ui-filters > IArbitraryValuesInputProps
IArbitraryValuesInputProps 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 ArbitraryValuesInput component.
Signature:
export interface IArbitraryValuesInputProps
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string[] |
(ALPHA) (Optional) Optional list of autocomplete suggestions. When provided, a dropdown of matching options is shown while the user types. Selecting an option adds it as a chip. Already-selected values are excluded from the suggestions. | ||
|
boolean |
(ALPHA) (Optional) Whether the input is disabled | ||
|
string |
(ALPHA) Localized display string for empty value (e.g. "(empty value)"). Used for parsing input and displaying empty string values. | ||
|
boolean |
(ALPHA) (Optional) Whether empty-value validation should be shown. | ||
|
boolean |
(ALPHA) (Optional) True when value limit exceeded (error state) - red border on container. | ||
|
boolean |
(ALPHA) (Optional) True when at value limit (warning state) - yellow border on container. | ||
|
boolean |
(ALPHA) (Optional) Whether autocomplete is currently loading results from the backend. | ||
|
(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. | ||
|
FocusEventHandler<HTMLInputElement> |
(ALPHA) (Optional) Callback when input loses focus. | ||
|
(values: Array<string | null>) => void |
(ALPHA) (Optional) Callback when values change | ||
|
string |
(ALPHA) (Optional) Placeholder text | ||
|
Array<string | null> |
(ALPHA) Current values |