Skip to content

Commit e351710

Browse files
authored
Ajoute un attribut autocomplete sur le champ email du formulaire de connexion (#808)
* autocomplete email field in login form * update changelog
1 parent bbdd3f8 commit e351710

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Tous les changements notables de Ara sont documentés ici avec leur date, leur catégorie (nouvelle fonctionnalité, correction de bug ou autre changement) et leur pull request (PR) associée.
44

5+
## 09/10/2024
6+
7+
### Corrections 🐛
8+
9+
- Corrige l’application de l'attribut `autocomplete` sur le champ "email" du formulaire de connexion ([#808](https://github.com/DISIC/Ara/pull/808))
10+
511
## 05/09/2024
612

713
### Nouvelles fonctionnalités 🚀

confiture-web-app/src/components/ui/DsfrField.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const props = defineProps<{
1111
title?: string;
1212
error?: string;
1313
id: string;
14+
autocomplete?: string;
1415
}>();
1516
1617
defineEmits<{
@@ -43,6 +44,7 @@ defineExpose({ inputRef });
4344
:required="required"
4445
:pattern="pattern ? pattern.toString().slice(1, -1) : undefined"
4546
:title="title"
47+
:autocomplete="autocomplete"
4648
:value="modelValue"
4749
@input="
4850
$emit('update:modelValue', ($event.target as HTMLInputElement).value)

confiture-web-app/src/pages/account/LoginPage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ async function handleSubmit() {
142142
hint="Format attendu : nom@domaine.fr"
143143
type="email"
144144
required
145+
autocomplete="email"
145146
:error="userEmailError"
146147
/>
147148

0 commit comments

Comments
 (0)