From fb672c2de7832dcba4260e536e25206fcd6a1ffe Mon Sep 17 00:00:00 2001 From: Milo Thurston Date: Tue, 1 Oct 2024 11:23:35 +0100 Subject: [PATCH 01/16] Used a different method to check that the search string isn't empty. --- .../Records/Search/Input/StringSearch.vue | 51 ++++++++++++++----- .../Records/Search/Input/StringSearch.spec.js | 11 ++-- 2 files changed, 45 insertions(+), 17 deletions(-) diff --git a/src/components/Records/Search/Input/StringSearch.vue b/src/components/Records/Search/Input/StringSearch.vue index c3484db55b..313eaac8c8 100644 --- a/src/components/Records/Search/Input/StringSearch.vue +++ b/src/components/Records/Search/Input/StringSearch.vue @@ -18,8 +18,6 @@ :class="$vuetify.breakpoint.lgAndDown ? 'v-input' : 'v-input-lg-up'" :height="responsiveHeightTextBox" :placeholder="placeholder" - :rules="[rules.isRequired()]" - validate-on-blur /> @@ -87,12 +85,40 @@ + + + +

+ Please enter a search term +

+
+ + A basic search will return any records matching the text in the box, which you may then further refine. + Or, you may click the advanced search button for more specific filtering without needing to enter text + first. + + + + + OK + + +
+