logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: d6f9f34ad84fdfe2add1532bc27fa62f80a5b8ab
parent: 26954cb3dd07e7f6a35fb843bee8e84334385424
Author: Shpuld Shpludson <shp@cock.li>
Date:   Wed, 13 Feb 2019 04:48:05 +0000

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:

Msrc/components/autocomplete_input/autocomplete_input.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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