Merge pull request #26068 from nextcloud/bugfix/noid/fix-comments-value-update

Fix comments field value update
This commit is contained in:
John Molakvoæ 2021-03-11 19:32:25 +01:00 committed by GitHub
commit c8368af3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -66,11 +66,12 @@
</div> </div>
<!-- Message editor --> <!-- Message editor -->
<div class="comment__editor " v-if="editor || editing"> <div v-if="editor || editing" class="comment__editor ">
<RichContenteditable ref="editor" <RichContenteditable ref="editor"
v-model="localMessage"
:auto-complete="autoComplete" :auto-complete="autoComplete"
:contenteditable="!loading" :contenteditable="!loading"
:value="localMessage"
@update:value="updateLocalMessage"
@submit="onSubmit" /> @submit="onSubmit" />
<input v-tooltip="t('comments', 'Post comment')" <input v-tooltip="t('comments', 'Post comment')"
:class="loading ? 'icon-loading-small' :'icon-confirm'" :class="loading ? 'icon-loading-small' :'icon-confirm'"