paperless-ngx/src-ui/src/app/components/common/input/select/select.component.html

7 lines
448 B
HTML
Raw Normal View History

2020-10-28 18:02:30 +01:00
<div class="form-group">
<label [for]="inputId">{{title}}</label>
<select class="form-control" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" (blur)="onTouched()" [disabled]="disabled" [style.color]="textColor" [style.background]="backgroundColor">
<option *ngFor="let i of items" [ngValue]="i.id" class="form-control">{{i.name}}</option>
</select>
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
</div>