fix(frontend): add autocomplete=off tags to most inputs
This commit is contained in:
parent
de733a0682
commit
f3bb2d5d01
9 changed files with 25 additions and 7 deletions
|
@ -65,7 +65,7 @@
|
|||
onclick={() => move(index, false)}
|
||||
/>
|
||||
<InputGroupText>{$t("editor.field-name")}</InputGroupText>
|
||||
<input class="form-control" bind:value={name} />
|
||||
<input class="form-control" bind:value={name} autocomplete="off" />
|
||||
<IconButton
|
||||
color="danger"
|
||||
icon="trash3"
|
||||
|
@ -88,6 +88,7 @@
|
|||
class="form-control"
|
||||
bind:value={newEntry}
|
||||
placeholder={$t("editor.new-entry")}
|
||||
autocomplete="off"
|
||||
/>
|
||||
<IconButton type="submit" color="success" icon="plus" tooltip={$t("editor.add-entry")} />
|
||||
</form>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
tooltip={$t("editor.move-entry-down")}
|
||||
onclick={() => moveValue(index, false)}
|
||||
/>
|
||||
<input type="text" class="form-control" bind:value={value.value} />
|
||||
<input type="text" class="form-control" bind:value={value.value} autocomplete="off" />
|
||||
<ButtonDropdown>
|
||||
<span use:tippy={{ content: status.tooltip }}>
|
||||
<DropdownToggle color="secondary" caret>
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
class="form-control"
|
||||
bind:value={newFieldName}
|
||||
placeholder={$t("editor.field-name")}
|
||||
autocomplete="off"
|
||||
/>
|
||||
<IconButton type="submit" color="success" icon="plus" tooltip={$t("editor.add-field")} />
|
||||
</form>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
tooltip={$t("editor.move-entry-down")}
|
||||
onclick={() => moveValue(index, true)}
|
||||
/>
|
||||
<input type="text" class="form-control" bind:value={value.value} />
|
||||
<input type="text" class="form-control" bind:value={value.value} autocomplete="off" />
|
||||
<ButtonDropdown>
|
||||
<span use:tippy={{ content: status.tooltip }}>
|
||||
<DropdownToggle color="secondary" caret>
|
||||
|
@ -88,6 +88,7 @@
|
|||
type="text"
|
||||
class="form-control"
|
||||
bind:value={value.display_text}
|
||||
autocomplete="off"
|
||||
/>
|
||||
<IconButton id="display-help" icon="question" tooltip="Help" color="secondary" />
|
||||
<!-- TODO: remove children={false} once sveltestrap is updated
|
||||
|
|
|
@ -60,6 +60,6 @@
|
|||
{/each}
|
||||
|
||||
<form class="input-group m-1" onsubmit={addEntry}>
|
||||
<input type="text" class="form-control" bind:value={newEntry} />
|
||||
<input type="text" class="form-control" bind:value={newEntry} autocomplete="off" />
|
||||
<IconButton type="submit" color="success" icon="plus" tooltip={$t("editor.add-entry")} />
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue