1
0
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:
Nuno Góis 2025-08-26 17:55:50 +01:00 committed by GitHub
parent 8cb11f69df
commit 7c4bada7a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -317,6 +317,7 @@ export const CommandBar = () => {
inputProps={{
'data-testid': SEARCH_INPUT,
}}
autoComplete='off'
value={value}
onChange={(e) => onSearchChange(e.target.value)}
onFocus={() => {