add status logic for adding
This commit is contained in:
parent
89429b49b3
commit
d8fc2766a9
@ -17,9 +17,11 @@
|
|||||||
name="prio"
|
name="prio"
|
||||||
[(ngModel)]="task.priority"
|
[(ngModel)]="task.priority"
|
||||||
>
|
>
|
||||||
<option *ngFor="let userstory of userstories" value="low">{{
|
<option
|
||||||
userstory.title
|
*ngFor="let userstory of userstories"
|
||||||
}}</option>
|
[value]="userstory.title"
|
||||||
|
>{{ userstory.title }}</option
|
||||||
|
>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</table>
|
||||||
<button (click)="onClose()" type="button" class="close" aria-label="Close">
|
<button (click)="onClose()" type="button" class="close" aria-label="Close">
|
||||||
@ -87,7 +89,7 @@
|
|||||||
name="prio"
|
name="prio"
|
||||||
[(ngModel)]="task.statusid"
|
[(ngModel)]="task.statusid"
|
||||||
>
|
>
|
||||||
<option *ngFor="let status of allStatus">{{
|
<option *ngFor="let status of allStatus" [value]="status.title">{{
|
||||||
status.title
|
status.title
|
||||||
}}</option>
|
}}</option>
|
||||||
</select>
|
</select>
|
||||||
|
@ -103,8 +103,4 @@ export class TaskFormComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// addNewStatus() {
|
|
||||||
// this.allStatus;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user