From b5bebe3a3c1a53b2ee37dea58cbf896ce17d751e Mon Sep 17 00:00:00 2001
From: tristan
Date: Thu, 25 Jun 2026 08:44:17 +0000
Subject: [PATCH] fix: sidebar + autocomplete (#88)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
| Numéro du ticket | Titre du ticket |
|------------------|-----------------|
| | |
## Description de la PR
## Modification du .env
## Check list
- [ ] Pas de régression
- [ ] TU/TI/TF rédigée
- [ ] TU/TI/TF OK
- [ ] CHANGELOG modifié
---------
Co-authored-by: admin malio
Co-authored-by: THOLOT DECHENE Matthieu
Reviewed-on: https://gitea.malio.fr/MALIO-DEV/malio-layer-ui/pulls/88
Co-authored-by: tristan
Co-committed-by: tristan
---
.../composant/input/inputAutocomplete.vue | 61 +++++++++++++++++++
.../pages/composant/sidebar/sidebar.vue | 24 ++++++++
CHANGELOG.md | 3 +
COMPONENTS.md | 6 +-
.../malio/input/InputAutocomplete.test.ts | 38 +++++++++++-
.../malio/input/InputAutocomplete.vue | 5 ++
app/components/malio/sidebar/Sidebar.test.ts | 56 ++++++++++++++---
app/components/malio/sidebar/Sidebar.vue | 18 +++++-
app/story/sidebar/sidebarMenu.story.vue | 41 +++++++++++++
9 files changed, 241 insertions(+), 11 deletions(-)
diff --git a/.playground/pages/composant/input/inputAutocomplete.vue b/.playground/pages/composant/input/inputAutocomplete.vue
index dfac49b..89a2119 100644
--- a/.playground/pages/composant/input/inputAutocomplete.vue
+++ b/.playground/pages/composant/input/inputAutocomplete.vue
@@ -47,6 +47,31 @@
+
+
allowCreate + BAN (test MUI-48)
+
+ Tapez au moins 3 caractères → suggestions de la Base Adresse Nationale.
+ Repro : sélectionnez une adresse dans la liste, puis
+ Ctrl+A et Ctrl+V pour coller une autre valeur
+ par-dessus. La valeur collée doit rester (le champ ne doit ni se vider, ni faire redescendre le label).
+
+
+
+ v-model : {{ banValue ?? 'null' }}
+
+
+