diff options
author | DorraJaouad <dorra.jaoued7@gmail.com> | 2023-06-22 15:13:14 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-08-02 14:12:38 +0000 |
commit | 166a3dbd5e4a4382b341b70fc1fa80ea64eb0aea (patch) | |
tree | 0071362c1cdab6743bbab4af00bc31861fa932dd /src/components/LeftSidebar/SearchBox/SearchBox.vue | |
parent | 092b64fe8fb37a3ef6fabec34e4d1b2e1ca52cf6 (diff) |
Fine tuning
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Fine tuning part 2
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
LeftSidebar test correction
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
Diffstat (limited to 'src/components/LeftSidebar/SearchBox/SearchBox.vue')
-rw-r--r-- | src/components/LeftSidebar/SearchBox/SearchBox.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/LeftSidebar/SearchBox/SearchBox.vue b/src/components/LeftSidebar/SearchBox/SearchBox.vue index 1ebf58bb6..b3fa6e9c1 100644 --- a/src/components/LeftSidebar/SearchBox/SearchBox.vue +++ b/src/components/LeftSidebar/SearchBox/SearchBox.vue @@ -25,6 +25,7 @@ :value.sync="localValue" :label="placeholderText" :show-trailing-button="isSearching" + :disabled="disabled" trailing-button-icon="close" v-on="$listeners" @trailing-button-click="abortSearch" @@ -53,7 +54,7 @@ export default { */ placeholderText: { type: String, - default: t('spreed', 'Search…'), + default: t('spreed', 'Search …'), }, /** * The value of the input field, when receiving it as a prop the localValue @@ -70,6 +71,10 @@ export default { type: Boolean, default: false, }, + disabled: { + type: Boolean, + default: false, + }, }, emits: ['update:value', 'input', 'submit', 'abort-search'], |