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

This commit is contained in:
Ivan Ortega Alba
2023-10-03 18:06:27 +03:00
committed by GitHub
parent 2b83d7a168
commit 6aa27607ae
@@ -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={<Icon name={isOpen ? 'search' : 'angle-down'} />}
placeholder={hideTextValue ? '' : dataSourceLabel(currentValue) || placeholder}