mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(ux): autofill off for certain inputs
This commit is contained in:
+2
@@ -200,6 +200,7 @@ export function EnvironmentVariables({ onOpenChange }: EnvironmentVariablesProps
|
||||
onChange={(e) => updateEnvVar(index, 'key', e.target.value)}
|
||||
onPaste={(e) => handlePaste(e, index)}
|
||||
placeholder="e.g. API_KEY"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Input
|
||||
data-input-type="value"
|
||||
@@ -212,6 +213,7 @@ export function EnvironmentVariables({ onOpenChange }: EnvironmentVariablesProps
|
||||
onPaste={(e) => handlePaste(e, index)}
|
||||
placeholder="Enter value"
|
||||
className="allow-scroll"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button variant="ghost" size="icon" onClick={() => removeEnvVar(index)} className="h-10 w-10">
|
||||
×
|
||||
|
||||
@@ -56,6 +56,7 @@ export function Toolbar() {
|
||||
className="pl-9"
|
||||
value={searchQuery}
|
||||
onChange={(e) => setSearchQuery(e.target.value)}
|
||||
autoComplete="off"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user