diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2024-11-29 12:04:41 +0000 |
|---|---|---|
| committer | Rasmus Fuhse <fuhse@data-quest.de> | 2024-11-29 12:04:41 +0000 |
| commit | cc9bbbe067980afa4124e8deb49ce2dcdacbb415 (patch) | |
| tree | f2ba5de4e32b2517dee49d2df7bd867baebf46d2 /resources | |
| parent | be111f1fb65056f88c952b2648b2c40c9aaccc4e (diff) | |
Resolve "OER Campus: Löschen von Themen beim Anlegen eines Materials fehlerbehaftet"
Closes #4931
Merge request studip/studip!3702
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/vue/components/Quicksearch.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/vue/components/Quicksearch.vue b/resources/vue/components/Quicksearch.vue index 0f37ae0..575b464 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); + } } } } |
