From cc9bbbe067980afa4124e8deb49ce2dcdacbb415 Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Fri, 29 Nov 2024 12:04:41 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"OER=20Campus:=20L=C3=B6schen=20von?= =?UTF-8?q?=20Themen=20beim=20Anlegen=20eines=20Materials=20fehlerbehaftet?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #4931 Merge request studip/studip!3702 --- resources/vue/components/Quicksearch.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/vue/components/Quicksearch.vue b/resources/vue/components/Quicksearch.vue index 0f37ae0d6ab..575b464b330 100644 --- a/resources/vue/components/Quicksearch.vue +++ b/resources/vue/components/Quicksearch.vue @@ -119,7 +119,6 @@ export default { this.results = []; this.$emit('input', this.returnValue, this.inputValue); - this.inputValue = ''; }, selectUp () { if (this.selected > 0) { @@ -177,6 +176,9 @@ export default { if (oldneedle !== null && (oldneedle !== needle) && needle.length > 2) { this.search(needle); } + if (this.autocomplete) { + this.$emit('input', this.inputValue, this.inputValue); + } } } } -- GitLab