From 0cd4c751a680869f4aac8489a9334ea1f74d4dfa Mon Sep 17 00:00:00 2001 From: Dominik Prokop Date: Tue, 17 Dec 2024 17:05:38 +0100 Subject: [PATCH] Scopes search: Don't regex-escape filter input value (#98117) --- public/app/features/scopes/internal/ScopesTreeSearch.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/scopes/internal/ScopesTreeSearch.tsx b/public/app/features/scopes/internal/ScopesTreeSearch.tsx index 180a0d23229..273d2fa24b0 100644 --- a/public/app/features/scopes/internal/ScopesTreeSearch.tsx +++ b/public/app/features/scopes/internal/ScopesTreeSearch.tsx @@ -46,6 +46,7 @@ export function ScopesTreeSearch({ anyChildExpanded, nodePath, query, onNodeUpda value={inputState.value} className={styles.input} data-testid="scopes-tree-search" + escapeRegex={false} onChange={(value) => { setInputState({ value, isDirty: true }); }}