react-awesome-query-builder icon indicating copy to clipboard operation
react-awesome-query-builder copied to clipboard

IsEmpty operation and IsNotEmpty operations in SpEL expression not rendering in UI

Open afeedhshaji opened this issue 2 years ago • 0 comments

Describe the bug When trying to render the query builder UI from the SPeL expression, the is_empty and is_not_empty`

To Reproduce

  • Create the following query in the demo builder:
    • user.firstName is empty.
    • The SpEL expression created would be : user.firstName <= ''
  • Copy the following SpEL expression: user.firstName <= '' to the demo UI and import it.
  • The builder wouldn't render "user.firstName is empty". In fact the builder can't recognize the operator (<=) passed.

Expected behavior

  • When the above-mentioned SpEL expression is copied and imported, it should render in the builder: "user.firstName is empty"

Screenshots Bug reproducer

Additional context

  • The similar bug exists for is not empty operator as well.

afeedhshaji avatar Jul 17 '22 10:07 afeedhshaji