Show a loading spinner when creating a new kanban task
This commit is contained in:
parent
1e72105635
commit
25bd9d17f9
1 changed files with 3 additions and 5 deletions
|
@ -154,15 +154,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="bucket-footer" v-if="canWrite">
|
<div class="bucket-footer" v-if="canWrite">
|
||||||
<div class="field" v-if="showNewTaskInput[bucket.id]">
|
<div class="field" v-if="showNewTaskInput[bucket.id]">
|
||||||
<div class="control">
|
<div class="control" :class="{'is-loading': taskService.loading}">
|
||||||
<input
|
<input
|
||||||
|
class="input"
|
||||||
:class="{'is-loading': taskService.loading}"
|
|
||||||
:disabled="taskService.loading"
|
:disabled="taskService.loading"
|
||||||
@focusout="toggleShowNewTaskInput(bucket.id)"
|
@focusout="toggleShowNewTaskInput(bucket.id)"
|
||||||
@keyup.enter="addTaskToBucket(bucket.id)"
|
@keyup.enter="addTaskToBucket(bucket.id)"
|
||||||
@keyup.esc="toggleShowNewTaskInput(bucket.id)"
|
@keyup.esc="toggleShowNewTaskInput(bucket.id)"
|
||||||
class="input"
|
|
||||||
placeholder="Enter the new task text..."
|
placeholder="Enter the new task text..."
|
||||||
type="text"
|
type="text"
|
||||||
v-focus.always
|
v-focus.always
|
||||||
|
|
Loading…
Reference in a new issue