Reset new task input after creation;
This commit is contained in:
@@ -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