Add Task

Title*

@if (!title.valid && title.touched) {

You must enter a title.

}

Description*

@if (!description.valid && description.touched) {

You must enter a description. (min. 10 letters)

}

Assigned to

@if (isAssignedOpen) { > } @else { }
@for (user of taskData.assigned; track user ) {
{{ firebaseService.getUserDetails(user, "initials") }}
}
@if (AssignedDialogId != '') {

{{ firebaseService.getUserDetails(AssignedDialogId, "firstName") }}, {{ firebaseService.getUserDetails(AssignedDialogId, "lastName") }}

}

Due date*

@if (!date.valid && date.touched) {

You must enter a date.

} @if (dateInPast && date.valid) {

The date must be in the future

}

Prio

Category*

@if (!category.valid && category.touched) {

You must select a category

}

Subtasks

@if (subtaskValue) {
} @else { } @if (taskData.subtasksTitle) {
@for (task of taskData.subtasksTitle.reverse(); track task) {

- {{ task }}

}
}