LP1807523: Associating labels and inputs in angular fmeditor
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / org-select / org-select.component.html
1
2 <!-- todo disabled -->
3 <ng-template #displayTemplate let-r="result">
4 {{r.label}}
5 </ng-template>
6
7 <input type="text" 
8   class="form-control"
9   [attr.id]="domId.length ? domId : null"
10   [placeholder]="placeholder"
11   [(ngModel)]="selected" 
12   [ngbTypeahead]="filter"
13   [resultTemplate]="displayTemplate"
14   [inputFormatter]="formatter"
15   (click)="click$.next($event.target.value)"
16   (selectItem)="orgChanged($event)"
17   #instance="ngbTypeahead"
18 />