Browse Source

Do not automatically capitalize inputs (#19)

With things like URLs and emails, it doesn't make sense to have these automatically capitalize. On my Android phone app, the default settings however do automatically capitalize.

MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocapitalize
pull/342/head
Kyle J. Kress 7 years ago
committed by Guillaume Vincent
parent
commit
516aadff34
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/views/Login.vue

+ 2
- 0
src/views/Login.vue View File

@@ -15,6 +15,7 @@
<input id="baseURL" <input id="baseURL"
class="form-control" class="form-control"
type="text" type="text"
autocapitalize="none"
v-bind:placeholder="$t('LessPass Database Url')" v-bind:placeholder="$t('LessPass Database Url')"
v-model="baseURL"> v-model="baseURL">
</div> </div>
@@ -27,6 +28,7 @@
class="form-control" class="form-control"
name="username" name="username"
type="email" type="email"
autocapitalize="none"
v-bind:placeholder="$t('Email')" v-bind:placeholder="$t('Email')"
required required
v-model="email"> v-model="email">


Loading…
Cancel
Save