Browse Source

fix: disable browser autocomplete on search form

NGPixel 5 years ago
parent
commit
e48b816f60
2 changed files with 4 additions and 0 deletions
  1. 2 0
      client/components/common/nav-header.vue
  2. 2 0
      client/components/profile/profile.vue

+ 2 - 0
client/components/common/nav-header.vue

@@ -15,6 +15,7 @@
         prepend-inner-icon='mdi-magnify'
         :loading='searchIsLoading'
         @keyup.enter='searchEnter'
+        autocomplete='off'
       )
     v-layout(row)
       v-flex(xs5, md4)
@@ -67,6 +68,7 @@
                 @blur='searchBlur'
                 @keyup.down='searchMove(`down`)'
                 @keyup.up='searchMove(`up`)'
+                autocomplete='off'
               )
             v-tooltip(bottom)
               template(v-slot:activator='{ on }')

+ 2 - 0
client/components/profile/profile.vue

@@ -190,6 +190,7 @@
                 :label='$t(`profile:auth.newPassword`)'
                 type='password'
                 prepend-inner-icon='mdi-textbox-password'
+                autocomplete='off'
                 counter='255'
                 loading
                 )
@@ -201,6 +202,7 @@
                 :label='$t(`profile:auth.verifyPassword`)'
                 type='password'
                 prepend-inner-icon='mdi-textbox-password'
+                autocomplete='off'
                 hide-details
                 )
           v-card-chin