Fix comments field value update
Fixes issue where the comment field value was not properly read out of the rich content field. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
69c4578b5b
commit
a60127acc8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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'"
|
||||||
|
|
Loading…
Reference in New Issue