1
0
Fork 0
mirror of synced 2024-07-14 18:55:45 +12:00

stop chrome autofilling login when adding env var

This commit is contained in:
andz-bb 2023-02-07 17:44:23 +00:00
parent cd12da3b85
commit 59b8aef844
3 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,7 @@
export let quiet = false
export let align
export let autofocus = false
export let autocomplete = null
const dispatch = createEventDispatcher()
@ -103,6 +104,7 @@
class="spectrum-Textfield-input"
style={align ? `text-align: ${align};` : ""}
inputmode={type === "number" ? "decimal" : "text"}
{autocomplete}
/>
</div>

View file

@ -14,6 +14,7 @@
export let updateOnChange = true
export let quiet = false
export let autofocus
export let autocomplete
const dispatch = createEventDispatcher()
const onChange = e => {
@ -33,6 +34,7 @@
{type}
{quiet}
{autofocus}
{autocomplete}
on:change={onChange}
on:click
on:input

View file

@ -71,6 +71,7 @@
}
}}
value={productionValue}
autocomplete="new-password"
/>
</div>
<div>
@ -83,6 +84,7 @@
disabled={useProductionValue}
label="Value"
value={useProductionValue ? productionValue : developmentValue}
autocomplete="new-password"
/>
<Checkbox bind:value={useProductionValue} text="Use production value" />
</div>