Props
| Property | Type | Required | Description |
|---|---|---|---|
value | string | No | The current filter expression value |
placeholder | string | No | Placeholder text shown when input is empty |
errorMessage | string | No | Custom error message to display under the input |
onValueChange | (params: FiltersOnValueChangeParams) => void | No | Callback fired when the filter value changes. value in params is always present, output will be null when the filter is invalid |
variableCompletionsFn | (search: string) => string[] | No | Function to provide variable name suggestions based on search input |
valueCompletionsFn | (search: string, variable: string) => string[] | No | Function to provide value suggestions for a specific variable |
variables | Record<string, ValueType> | No | Object mapping variable names to their types (e.g., integer, float, string, boolean) |