[v10.1.x] DataSourcePicker: Disable autocomplete for the search input (#75900)

DataSourcePicker: Disable autocomplete for the search input  (#75898)

(cherry picked from commit 6aa27607ae)

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
This commit is contained in:
grafana-delivery-bot[bot]
2023-10-03 18:17:12 +03:00
committed by GitHub
co-authored by Ivan Ortega Alba
parent c629e3b09c
commit 7b8e09c90b
@@ -198,6 +198,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={<Icon name={isOpen ? 'search' : 'angle-down'} />}
placeholder={hideTextValue ? '' : dataSourceLabel(currentValue) || placeholder}