I
I
Ilya Loopashko2020-05-22 05:55:50
Vue.js
Ilya Loopashko, 2020-05-22 05:55:50

Why is text not being added?

When adding a new task, no text is added.

The code

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2020-05-22
@deadloop

addTodo (todo) {
        this.todos.push({text: todo, done: false, islong: true})
        this.newTodo = ''
 }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question