fix: ATTR_ENUMERATED_COERCION errors with contenteditable

This commit is contained in:
kolaente 2021-10-17 22:08:58 +02:00
parent 3ba9cd2d99
commit f795d2d0f3
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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