Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .server-changes/env-var-inputs-autocomplete-off.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
area: webapp
type: improvement
---

Stop the browser offering to autofill or save environment variable values as saved credentials.
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ function VariableField({
onChange={(e) => onChange({ ...value, key: e.currentTarget.value })}
autoFocus={index === 0}
onPaste={onPaste}
autoComplete="off"
/>
<FormError id={fields.key.errorId}>{fields.key.errors}</FormError>
</div>
Expand All @@ -689,6 +690,7 @@ function VariableField({
placeholder="Not set"
value={value.value}
onChange={(e) => onChange({ ...value, value: e.currentTarget.value })}
autoComplete="off"
/>
<FormError id={fields.value.errorId}>{fields.value.errors}</FormError>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ function EditEnvironmentVariablePanel({
placeholder={variable.isSecret ? "Set new secret value" : "Not set"}
defaultValue={variable.value}
type={"text"}
autoComplete="off"
/>
<FormError id={value.errorId}>{value.errors}</FormError>
</InputGroup>
Expand Down