Skip to content

Error handling

The component automatically detects and displays errors:

  • Syntax Errors - Invalid filter expression syntax
  • Type Errors - Type mismatches (e.g., comparing strings to integers)

Errors are displayed by hovering the underlined part of input.

onValueChange({ value, output }) output parameter is null when there is an error in the filter query, be it syntax error or other, like unknown variables.

If an error is set, a message displays on the bottom of the input. You can change this message with the errorMessage prop.