fix: ATTR_ENUMERATED_COERCION errors with editor and contenteditable

This commit is contained in:
kolaente 2021-10-17 22:05:23 +02:00
parent c1a981c60b
commit 3ba9cd2d99
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@
</transition>
</div>
<editor
:has-preview="true"
:hasPreview="true"
:is-edit-enabled="canWrite"
:upload-callback="attachmentUpload"
:upload-enabled="true"
@ -110,7 +110,7 @@
taskCommentService.loading &&
!isCommentEdit,
}"
:has-preview="false"
:hasPreview="false"
:upload-callback="attachmentUpload"
:upload-enabled="true"
:placeholder="$t('task.comment.placeholder')"

View file

@ -50,7 +50,7 @@
@blur="saveBucketTitle(bucket.id, $event.target.textContent)"
@click="focusBucketTitle"
class="title input"
:contenteditable="bucketTitleEditable && canWrite && !collapsedBuckets[bucket.id]"
:contenteditable="(bucketTitleEditable && canWrite && !collapsedBuckets[bucket.id]) || null"
:spellcheck="false">{{ bucket.title }}</h2>
<span
:class="{'is-max': bucket.tasks.length >= bucket.limit}"