Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixes #292

jonaswinkler2c065da98758
diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.html
index 780dc5686..aa500d0d1 100644
--- a/src-ui/src/app/components/common/input/select/select.component.html
+++ b/src-ui/src/app/components/common/input/select/select.component.html
@@ -6,9 +6,11 @@
[style.color]="textColor"
[style.background]="backgroundColor"
[clearable]="allowNull"
+ [items]="items"
+ bindLabel="name"
+ bindValue="id"
(change)="onChange(value)"
(blur)="onTouched()">
- <ng-option *ngFor="let i of items" [value]="i.id">{{i.name}}</ng-option>
</ng-select>
<div *ngIf="showPlusButton()" class="input-group-append">