From 7625950950d2f39d1fd877438d883172b1015b7f Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Sun, 6 Nov 2022 20:03:44 +0530 Subject: [PATCH] Remove unsupported operators by JSOnLogic (#5394) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../react-awesome-query-builder/config/config.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx index 65e2728ee4..ccf8103258 100644 --- a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx +++ b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx @@ -123,6 +123,13 @@ operators.between.label = "Between"; delete operators.proximity; delete operators.is_null; delete operators.is_not_null; + +/** + * Not supported with JSONLogic. Implement them and add these back -> https://github.com/jwadhams/json-logic-js/issues/81 + */ +delete operators.starts_with; +delete operators.ends_with; + const config = { conjunctions: BasicConfig.conjunctions, operators,