Reset new task input after creation;
This commit is contained in:
1 parent
7686057022
commit
8bc8f6eee0
1 file changed
+1
@@ -53,6 +53,7 @@ export class ActiveListTasksComponent implements OnInit, OnDestroy {
|
||||
} as Task;
|
||||
|
||||
this._taskListService.addTask(newTask);
|
||||
this.newTaskControl.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user