From 974b74ee9f2aef28539edbea354e0b054184cdff Mon Sep 17 00:00:00 2001 From: Matthieu Date: Mon, 16 Mar 2026 15:54:24 +0100 Subject: [PATCH] fix(SearchSelect) : render option-description slot even without optionDescription prop The v-if on resolveDescription() was hiding the entire slot when optionDescription prop was not provided. Now checks for slot presence first, allowing custom formatDescription in PieceSelect/ProductSelect/ ComposantSelect to render properly. Co-Authored-By: Claude Opus 4.6 (1M context) --- app/components/common/SearchSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/common/SearchSelect.vue b/app/components/common/SearchSelect.vue index a8aa375..299d312 100644 --- a/app/components/common/SearchSelect.vue +++ b/app/components/common/SearchSelect.vue @@ -69,7 +69,7 @@ {{ resolveLabel(option) }} - + {{ resolveDescription(option) }}