Skip to content
Snippets Groups Projects
Commit cc9bbbe0 authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

Resolve "OER Campus: Löschen von Themen beim Anlegen eines Materials fehlerbehaftet"

Closes #4931

Merge request studip/studip!3702
parent be111f1f
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,6 @@ export default { ...@@ -119,7 +119,6 @@ export default {
this.results = []; this.results = [];
this.$emit('input', this.returnValue, this.inputValue); this.$emit('input', this.returnValue, this.inputValue);
this.inputValue = '';
}, },
selectUp () { selectUp () {
if (this.selected > 0) { if (this.selected > 0) {
...@@ -177,6 +176,9 @@ export default { ...@@ -177,6 +176,9 @@ export default {
if (oldneedle !== null && (oldneedle !== needle) && needle.length > 2) { if (oldneedle !== null && (oldneedle !== needle) && needle.length > 2) {
this.search(needle); this.search(needle);
} }
if (this.autocomplete) {
this.$emit('input', this.inputValue, this.inputValue);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment