Skip to content

Commit 054777d

Browse files
committed
fix(ux): autofill off for certain inputs
1 parent 04ebb83 commit 054777d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/w/components/sidebar/components/settings-modal/components/environment/environment.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export function EnvironmentVariables({ onOpenChange }: EnvironmentVariablesProps
200200
onChange={(e) => updateEnvVar(index, 'key', e.target.value)}
201201
onPaste={(e) => handlePaste(e, index)}
202202
placeholder="e.g. API_KEY"
203+
autoComplete="off"
203204
/>
204205
<Input
205206
data-input-type="value"
@@ -212,6 +213,7 @@ export function EnvironmentVariables({ onOpenChange }: EnvironmentVariablesProps
212213
onPaste={(e) => handlePaste(e, index)}
213214
placeholder="Enter value"
214215
className="allow-scroll"
216+
autoComplete="off"
215217
/>
216218
<Button variant="ghost" size="icon" onClick={() => removeEnvVar(index)} className="h-10 w-10">
217219
×

app/w/components/toolbar/toolbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export function Toolbar() {
5656
className="pl-9"
5757
value={searchQuery}
5858
onChange={(e) => setSearchQuery(e.target.value)}
59+
autoComplete="off"
5960
/>
6061
</div>
6162
</div>

0 commit comments

Comments
 (0)