BigW Consortium Gitlab

Commit 820c0d6d by Fatih Acet

IssueNotesRefactor: Clear AC cache.

parent f15be51b
......@@ -94,8 +94,11 @@ export default {
}
},
discard() {
this.note = '';
// `blur` is needed to clear slash commands autocomplete cache if event fired.
// `focus` is needed to remain cursor in the textarea.
this.$refs.textarea.blur();
this.$refs.textarea.focus();
this.note = '';
},
setNoteType(type) {
this.noteType = type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment