react-awesome-query-builder
react-awesome-query-builder copied to clipboard
IsEmpty operation and IsNotEmpty operations in SpEL expression not rendering in UI
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
Additional context
- The similar bug exists for
is not empty
operator as well.