LoginSignup
1
0

More than 3 years have passed since last update.

Vuetifyのtext-fieldにgoogleなどでキャッシュされている情報が入らないように

Posted at

Nuxtを使って開発を進めているが、ちょっと躓いたことがあったので備忘録として。

ログイン画面やらプロフィール画面を作っていて、
入力できるコンポーネントとして、Vuetifyの"v-text-filed"をよく使用するのだが、
なぜか、googleで保存しているパスワードやらメールアドレスやらが入ってしまう。

困ったと思ってググったら

Nuxt.js
<v-text-filed
 autocomplete = "false">
</v-text-filed>

とやるのは上手くいかない。

Nuxt.js
<v-text-filed
 autocomplete = "new-password">
</v-text-filed>

これだとばっちり!

参考:https://github.com/vuetifyjs/vuetify/issues/2792

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0