From b5b83b04f58908d7d5c8f49520c2c004eef29c73 Mon Sep 17 00:00:00 2001 From: LrxGaelle Date: Mon, 8 Jan 2024 11:03:22 +0100 Subject: [PATCH] PATCH: add disabled props for BIMDataSearch component & doc (#331) --- .../BIMDataSearch/BIMDataSearch.vue | 7 ++- .../BIMDataSearch/_BIMDataSearch.scss | 6 ++ src/web/views/Components/Search/Search.vue | 4 ++ src/web/views/Components/Search/props-data.js | 62 ++++++++++--------- 4 files changed, 50 insertions(+), 29 deletions(-) diff --git a/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue b/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue index ae8cf1b3..e878e020 100644 --- a/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue +++ b/src/BIMDataComponents/BIMDataSearch/BIMDataSearch.vue @@ -3,7 +3,7 @@ class="bimdata-search-bar" v-clickaway="away" :style="{ width: width, height: height }" - :class="{ focus: focused, ...classes }" + :class="{ focus: focused, disabled, ...classes }" > @@ -18,6 +18,7 @@ :placeholder="placeholder" @keyup.enter="$emit('enter', $event.target.value)" :autocomplete="autocomplete ? 'on' : 'off'" + :disabled="disabled" /> @@ -40,6 +41,7 @@ v-model="placeholder" /> +