Skip to content

Commit

Permalink
todolist
Browse files Browse the repository at this point in the history
  • Loading branch information
ToWipf committed Aug 1, 2020
1 parent 3a3d5ba commit 7e4bc35
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
16 changes: 13 additions & 3 deletions angular-app/src/app/components/todolist/todolist.dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ <h1 mat-dialog-title>Id: {{data.id}}</h1>
<input matInput [(ngModel)]="data.data">
</mat-form-field>
<br>
<mat-form-field>

<!-- <mat-label>Status</mat-label> -->
<!-- <input matInput [(ngModel)]="data.active"> -->

<mat-form-field appearance="fill">
<mat-label>Status</mat-label>
<!-- TODO: active ? -->
<input matInput [(ngModel)]="data.active">
<mat-select [(value)]="data.active">
<!-- <mat-option>None</mat-option> -->
<mat-option value="NEW">Neu</mat-option>
<mat-option value="DONE">Fertig</mat-option>
<mat-option value="TODO">Zu Tun</mat-option>
<mat-option value="LATER">Später</mat-option>
</mat-select>
</mat-form-field>

</div>

<div mat-dialog-actions>
Expand Down
1 change: 0 additions & 1 deletion angular-app/src/app/datatypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ export interface filmEntry {
gesehenDate?: number;
infotext?: string;
}

0 comments on commit 7e4bc35

Please sign in to comment.