We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbf9d81 commit 35251d3Copy full SHA for 35251d3
2 files changed
confiture-web-app/src/components/ui/DsfrField.vue
@@ -11,6 +11,7 @@ const props = defineProps<{
11
title?: string;
12
error?: string;
13
id: string;
14
+ autocomplete?: string;
15
}>();
16
17
defineEmits<{
@@ -43,6 +44,7 @@ defineExpose({ inputRef });
43
44
:required="required"
45
:pattern="pattern ? pattern.toString().slice(1, -1) : undefined"
46
:title="title"
47
+ :autocomplete="autocomplete"
48
:value="modelValue"
49
@input="
50
$emit('update:modelValue', ($event.target as HTMLInputElement).value)
confiture-web-app/src/pages/account/LoginPage.vue
@@ -142,6 +142,7 @@ async function handleSubmit() {
142
hint="Format attendu : nom@domaine.fr"
143
type="email"
144
required
145
+ autocomplete="email"
146
:error="userEmailError"
147
/>
148
0 commit comments