From 6aa27607ae91c2f4365472bc987862557459b957 Mon Sep 17 00:00:00 2001 From: Ivan Ortega Alba Date: Tue, 3 Oct 2023 17:06:27 +0200 Subject: [PATCH] DataSourcePicker: Disable autocomplete for the search input (#75898) --- .../datasources/components/picker/DataSourceDropdown.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/datasources/components/picker/DataSourceDropdown.tsx b/public/app/features/datasources/components/picker/DataSourceDropdown.tsx index 041008925b1..272c7fdca0c 100644 --- a/public/app/features/datasources/components/picker/DataSourceDropdown.tsx +++ b/public/app/features/datasources/components/picker/DataSourceDropdown.tsx @@ -199,6 +199,7 @@ export function DataSourceDropdown(props: DataSourceDropdownProps) { className={inputHasFocus ? undefined : styles.input} data-testid={selectors.components.DataSourcePicker.inputV2} aria-label="Select a data source" + autoComplete="off" prefix={currentValue ? prefixIcon : undefined} suffix={} placeholder={hideTextValue ? '' : dataSourceLabel(currentValue) || placeholder}