Skip to content

Commit

Permalink
fix(login): autocomplate
Browse files Browse the repository at this point in the history
  • Loading branch information
reynaldi rangga p committed Dec 10, 2021
1 parent 6984f73 commit e07554c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/VFileUpload/VFileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ const removeFile = () => {
innerValue.value = null;
previewURL.value = null;
hasInitialValue.value = false;
fileRef.value = null;
emit('change', null);
emit('update:modelValue', null);
Expand Down
6 changes: 3 additions & 3 deletions src/pages/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const props = defineProps({
},
autocomplete: {
type: String,
default: 'on',
default: 'off',
},
});
Expand Down Expand Up @@ -128,7 +128,7 @@ const onSubmit = (values) => {
:error-messages="[errors.email]"
error-class="min-h-[20px]"
class="mb-2"
:autocomplete="autocomplete"
:input-props="{autocomplete}"
v-bind="field"
>
<template #prepend>
Expand Down Expand Up @@ -158,7 +158,7 @@ const onSubmit = (values) => {
:error-messages="[errors.password]"
error-class="min-h-[20px]"
class="mb-2"
:autocomplete="autocomplete"
:input-props="{autocomplete}"
v-bind="field"
>
<template #prepend>
Expand Down

0 comments on commit e07554c

Please sign in to comment.