mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
chore: disable browser autocomplete on commandbar (#10544)
https://linear.app/unleash/issue/2-3819/disable-browser-autocomplete-on-our-command-bar Disables browser autocomplete on our CommandBar: ### Before <img width="424" height="352" alt="image" src="https://github.com/user-attachments/assets/597bbb9f-6391-4bb9-9f80-4fa80cb5c00c" /> ### After <img width="421" height="351" alt="image" src="https://github.com/user-attachments/assets/ef5409b2-5cfd-4780-b33c-63a8f740feda" />
This commit is contained in:
parent
8cb11f69df
commit
7c4bada7a7
@ -317,6 +317,7 @@ export const CommandBar = () => {
|
|||||||
inputProps={{
|
inputProps={{
|
||||||
'data-testid': SEARCH_INPUT,
|
'data-testid': SEARCH_INPUT,
|
||||||
}}
|
}}
|
||||||
|
autoComplete='off'
|
||||||
value={value}
|
value={value}
|
||||||
onChange={(e) => onSearchChange(e.target.value)}
|
onChange={(e) => onSearchChange(e.target.value)}
|
||||||
onFocus={() => {
|
onFocus={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user