diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-02-13 04:48:05 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-02-13 04:48:05 +0000 |
| commit | d6f9f34ad84fdfe2add1532bc27fa62f80a5b8ab (patch) | |
| tree | 303b87b214b80c81a0d3280be874d7524348d5c3 /src | |
| parent | 26954cb3dd07e7f6a35fb843bee8e84334385424 (diff) | |
| parent | 64fab9d7bcd3785506cd5c2a8869eb9162d9e9ad (diff) | |
Merge branch 'fix/no-autocomplete-in-non-post-forms' into 'develop'
hotfix/this fixes #350 - v-model binding issue
Closes #350
See merge request pleroma/pleroma-fe!573
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/autocomplete_input/autocomplete_input.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/autocomplete_input/autocomplete_input.js b/src/components/autocomplete_input/autocomplete_input.js index 2a959fd1..404a8cdb 100644 --- a/src/components/autocomplete_input/autocomplete_input.js +++ b/src/components/autocomplete_input/autocomplete_input.js @@ -126,6 +126,7 @@ const AutoCompleteInput = { const candidate = this.candidates[this.highlighted] const replacement = candidate.utf || (candidate.screen_name + ' ') this.text = Completion.replaceWord(this.text, this.wordAtCaret, replacement) + this.$emit('input', this.text) const el = this.$el.querySelector('textarea') || this.$el.querySelector('input') el.focus() this.caret = 0 |
