From ad2c62f9da0cf7a10b54d9b014434b3570fb41a2 Mon Sep 17 00:00:00 2001 From: Jean Dessane Date: Mon, 21 Jun 2021 16:10:54 +0200 Subject: [PATCH] add autoComplete='off' on input with menu --- src/AutocompleteInput/AutocompleteInput.tsx | 1 + src/Select/Select.tsx | 1 + src/TextInputList/TextInputList.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/AutocompleteInput/AutocompleteInput.tsx b/src/AutocompleteInput/AutocompleteInput.tsx index 756a71ead..e31717526 100644 --- a/src/AutocompleteInput/AutocompleteInput.tsx +++ b/src/AutocompleteInput/AutocompleteInput.tsx @@ -38,6 +38,7 @@ export const AutocompleteInput = React.forwardRef< value={value} ref={inputRef} containerRef={containerRef} + autoComplete="off" {...inputProps} /> {autocomplete.open && ( diff --git a/src/Select/Select.tsx b/src/Select/Select.tsx index 381215b40..85436c9c3 100644 --- a/src/Select/Select.tsx +++ b/src/Select/Select.tsx @@ -79,6 +79,7 @@ const InnerSelect = React.forwardRef( )} {filterable && state.isOpened ? (