Fix for userstory selector

This commit is contained in:
Nicolai Ort 2020-06-30 14:57:56 +02:00
parent ac73063b6e
commit 398ccb223d

View File

@ -11,10 +11,8 @@
</h6> </h6>
</tr> </tr>
<select class="form-control custom-select mr-sm-2" id="prio" required name="prio" <select class="form-control custom-select mr-sm-2" id="prio" required name="prio"
[(ngModel)]="task.priority"> [(ngModel)]="task.userstoryid">
<option *ngFor="let userstory of userstories" value="low">{{ <option *ngFor="let userstory of userstories" [(ngValue)]="userstory.id">{{userstory.title}}</option>
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">