Make sure form elements are not spell checked.

This commit is contained in:
James Cole
2022-10-23 17:36:26 +02:00
parent 2f66315416
commit d4738b21ab
26 changed files with 45 additions and 41 deletions

View File

@@ -127,7 +127,7 @@
<label class="col-md-3 col-form-label">{{ $t('firefly.name') }}</label>
<div class="col-md-9">
<input id="create-client-name" v-model="createForm.name" class="form-control"
<input id="create-client-name" v-model="createForm.name" class="form-control" spellcheck="false"
type="text" @keyup.enter="store">
<span class="form-text text-muted">
@@ -141,7 +141,7 @@
<label class="col-md-3 col-form-label">{{ $t('firefly.profile_oauth_redirect_url') }}</label>
<div class="col-md-9">
<input v-model="createForm.redirect" class="form-control" name="redirect"
<input v-model="createForm.redirect" class="form-control" name="redirect" spellcheck="false"
type="text" @keyup.enter="store">
<span class="form-text text-muted">
@@ -214,7 +214,7 @@
<label class="col-md-3 col-form-label">{{ $t('firefly.name') }}</label>
<div class="col-md-9">
<input id="edit-client-name" v-model="editForm.name" class="form-control"
<input id="edit-client-name" v-model="editForm.name" class="form-control" spellcheck="false"
type="text" @keyup.enter="update">
<span class="form-text text-muted">
@@ -228,7 +228,7 @@
<label class="col-md-3 col-form-label">{{ $t('firefly.profile_oauth_redirect_url') }}</label>
<div class="col-md-9">
<input v-model="editForm.redirect" class="form-control" name="redirect"
<input v-model="editForm.redirect" class="form-control" name="redirect" spellcheck="false"
type="text" @keyup.enter="update">
<span class="form-text text-muted">
@@ -268,7 +268,7 @@
{{ $t('firefly.profile_oauth_client_secret_expl') }}
</p>
<input v-model="clientSecret" class="form-control" type="text">
<input v-model="clientSecret" class="form-control" type="text" spellcheck="false">
</div>
<!-- Modal Actions -->

View File

@@ -108,7 +108,7 @@
<label class="col-md-4 col-form-label">{{ $t('firefly.name') }}</label>
<div class="col-md-6">
<input id="create-token-name" v-model="form.name" class="form-control" name="name" type="text">
<input id="create-token-name" v-model="form.name" class="form-control" name="name" type="text" spellcheck="false">
</div>
</div>

View File

@@ -25,6 +25,7 @@
<div class="col-sm-12">
<div class="input-group">
<input
spellcheck="false"
ref="input"
:data-index="index"
:disabled="inputDisabled"

View File

@@ -26,7 +26,7 @@
<label ref="cur" class="col-sm-4 control-label"></label>
<div class="col-sm-8">
<div class="input-group">
<input ref="amount"
<input ref="amount" spellcheck="false"
:title="$t('firefly.amount')"
:value="value"
autocomplete="off"

View File

@@ -26,6 +26,7 @@
<div class="col-sm-12">
<div class="input-group">
<input
spellcheck="false"
ref="input"
:value="value"
autocomplete="off"

View File

@@ -27,7 +27,7 @@
</div>
<div class="col-sm-12">
<div class="input-group">
<input ref="input"
<input ref="input" spellcheck="false"
:name="name"
:placeholder="title"
:title="title"

View File

@@ -27,7 +27,7 @@
</div>
<div class="col-sm-12">
<div class="input-group">
<input ref="date" :name="name" :placeholder="title"
<input ref="date" :name="name" :placeholder="title" spellcheck="false"
:title="title" :value="value ? value.substr(0,10): ''"
autocomplete="off"
class="form-control" type="date"

View File

@@ -27,7 +27,7 @@
</div>
<div class="col-sm-12">
<div class="input-group">
<input ref="str" :name="name" :placeholder="title"
<input ref="str" :name="name" :placeholder="title" spellcheck="false"
:title="title" :value="value"
autocomplete="off"
class="form-control" type="text"

View File

@@ -27,7 +27,7 @@
</div>
<div class="col-sm-12">
<div class="input-group">
<input ref="uri" :name="name" :placeholder="title"
<input ref="uri" :name="name" :placeholder="title" spellcheck="false"
:title="title" :value="value"
autocomplete="off"
class="form-control" type="url"

View File

@@ -26,6 +26,7 @@
<div class="col-sm-12">
<div class="input-group">
<input
spellcheck="false"
ref="descr"
:value="value"
autocomplete="off"

View File

@@ -26,6 +26,7 @@
<div class="col-sm-12">
<div class="input-group">
<input
spellcheck="false"
ref="descr"
:title="$t('firefly.description')"
:value="value"