From 01304ff3d96b4ab89087931ba3c34a2582f7c8b6 Mon Sep 17 00:00:00 2001 From: Sam Winslow Date: Fri, 14 May 2021 12:19:09 -0400 Subject: [PATCH] use text input on all non-multi-operator queries (#4334) Co-authored-by: Paolo D'Amico --- .../lib/components/PropertyFilters/components/PropertyValue.js | 2 +- .../PropertyFilters/components/UnifiedPropertyFilter.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/PropertyFilters/components/PropertyValue.js b/frontend/src/lib/components/PropertyFilters/components/PropertyValue.js index 13a981e9ed5..267404f7767 100644 --- a/frontend/src/lib/components/PropertyFilters/components/PropertyValue.js +++ b/frontend/src/lib/components/PropertyFilters/components/PropertyValue.js @@ -88,7 +88,7 @@ export function PropertyValue({ return ( <> - {isOperatorRegex(operator) ? ( + {!isOperatorMulti(operator) ? ( { diff --git a/frontend/src/lib/components/PropertyFilters/components/UnifiedPropertyFilter.scss b/frontend/src/lib/components/PropertyFilters/components/UnifiedPropertyFilter.scss index f8f6610f5c5..e61fd93a1d5 100644 --- a/frontend/src/lib/components/PropertyFilters/components/UnifiedPropertyFilter.scss +++ b/frontend/src/lib/components/PropertyFilters/components/UnifiedPropertyFilter.scss @@ -14,6 +14,7 @@ padding-right: 8px; position: relative; top: -4px; + user-select: none; } }