Default autocomplete to off in v-input

Fixes #4348
This commit is contained in:
rijkvanzanten
2021-03-03 17:16:43 -05:00
parent 7ab359eacf
commit 3b389aed9e

View File

@@ -17,6 +17,7 @@
v-bind="$attrs"
v-focus="autofocus"
v-on="_listeners"
:autocomplete="autocomplete"
:type="type"
:min="min"
:max="max"
@@ -129,6 +130,10 @@ export default defineComponent({
type: Boolean,
default: false,
},
autocomplete: {
type: String,
default: 'off',
},
},
setup(props, { emit, listeners }) {
const input = ref<HTMLInputElement | null>(null);