Skip to content

Commit

Permalink
Ajoute un attribut autocomplete sur le champ email du formulaire de…
Browse files Browse the repository at this point in the history
… connexion (#808)

* autocomplete email field in login form

* update changelog
  • Loading branch information
bellangerq authored Oct 9, 2024
1 parent bbdd3f8 commit e351710
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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.

## 09/10/2024

### Corrections 🐛

- Corrige l’application de l'attribut `autocomplete` sur le champ "email" du formulaire de connexion ([#808](https://github.com/DISIC/Ara/pull/808))

## 05/09/2024

### Nouvelles fonctionnalités 🚀
Expand Down
2 changes: 2 additions & 0 deletions confiture-web-app/src/components/ui/DsfrField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const props = defineProps<{
title?: string;
error?: string;
id: string;
autocomplete?: string;
}>();
defineEmits<{
Expand Down Expand Up @@ -43,6 +44,7 @@ defineExpose({ inputRef });
:required="required"
:pattern="pattern ? pattern.toString().slice(1, -1) : undefined"
:title="title"
:autocomplete="autocomplete"
:value="modelValue"
@input="
$emit('update:modelValue', ($event.target as HTMLInputElement).value)
Expand Down
1 change: 1 addition & 0 deletions confiture-web-app/src/pages/account/LoginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ async function handleSubmit() {
hint="Format attendu : [email protected]"
type="email"
required
autocomplete="email"
:error="userEmailError"
/>

Expand Down

0 comments on commit e351710

Please sign in to comment.