From 8bc846faa79d6bdb092bb0ed879f17ca7114c33a Mon Sep 17 00:00:00 2001 From: Andrea Rosci Date: Tue, 28 Nov 2023 11:17:41 +0100 Subject: [PATCH] Fix full text serach filter with special characters Change-type: patch --- src/components/DataTypes/object.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DataTypes/object.tsx b/src/components/DataTypes/object.tsx index 814ed64cd..c81768dac 100644 --- a/src/components/DataTypes/object.tsx +++ b/src/components/DataTypes/object.tsx @@ -160,7 +160,7 @@ export const createFilter: CreateFilter = ( const properties = [schemaKey, schemaValue].map((key: string) => ({ properties: { [key]: { - pattern: value, + pattern: regexEscape(value), }, }, required: [key],