diff --git a/public/docs/js/latest/guide/user-input.jade b/public/docs/js/latest/guide/user-input.jade index fda739e148..b686e9ea9e 100644 --- a/public/docs/js/latest/guide/user-input.jade +++ b/public/docs/js/latest/guide/user-input.jade @@ -133,7 +133,7 @@ } addTodo(todo: string) { - this.todos.push(todo); + this.todos.push(todo.value); } doneTyping($event) { @@ -151,7 +151,7 @@ this.todos = ["Eat Breakfast", "Walk Dog", "Breathe"]; this.addTodo = function(todo) { - this.todos.push(todo); + this.todos.push(todo.value); }; this.doneTyping = function($event) {