fix: properly reference task input textarea from parent component
Resolves #1993
This commit is contained in:
parent
cadcaa966f
commit
745d4660d8
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
|||
>
|
||||
<add-task
|
||||
@taskAdded="updateTaskList"
|
||||
ref="newTaskInput"
|
||||
ref="addTask"
|
||||
:default-position="firstNewPosition"
|
||||
/>
|
||||
</template>
|
||||
|
@ -262,7 +262,7 @@ export default defineComponent({
|
|||
}, 200)
|
||||
},
|
||||
focusNewTaskInput() {
|
||||
this.$refs.newTaskInput.focus()
|
||||
this.$refs.addTask.$refs.newTaskInput.focus()
|
||||
},
|
||||
updateTaskList( task ) {
|
||||
if ( this.isAlphabeticalSorting ) {
|
||||
|
|
Loading…
Reference in a new issue