Show a loading spinner when creating a new kanban task

This commit is contained in:
kolaente 2020-11-28 15:44:48 +01:00
parent 1e72105635
commit 25bd9d17f9
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -154,15 +154,13 @@
</div>
<div class="bucket-footer" v-if="canWrite">
<div class="field" v-if="showNewTaskInput[bucket.id]">
<div class="control">
<div class="control" :class="{'is-loading': taskService.loading}">
<input
:class="{'is-loading': taskService.loading}"
class="input"
:disabled="taskService.loading"
@focusout="toggleShowNewTaskInput(bucket.id)"
@keyup.enter="addTaskToBucket(bucket.id)"
@keyup.esc="toggleShowNewTaskInput(bucket.id)"
class="input"
placeholder="Enter the new task text..."
type="text"
v-focus.always