2016-05-23 03:30:18 -04:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-btn" dropdown>
|
|
|
|
<button id="simple-btn-keyboard-nav" type="button" class="btn btn-default" dropdownToggle>
|
|
|
|
{{ getStringChoice(searchCriterias.field) }} <span class="caret"></span>
|
|
|
|
</button>
|
2017-04-12 16:00:17 -04:00
|
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav" *dropdownMenu>
|
2016-10-13 15:59:19 -04:00
|
|
|
<li *ngFor="let choice of choiceKeys" class="dropdown-item" role="menu-item">
|
2016-05-23 03:30:18 -04:00
|
|
|
<a class="dropdown-item" href="#" (click)="choose($event, choice)">{{ getStringChoice(choice) }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input
|
|
|
|
type="text" id="search-video" name="search-video" class="form-control" placeholder="Search a video..." class="form-control"
|
|
|
|
[(ngModel)]="searchCriterias.value" (keyup.enter)="doSearch()"
|
|
|
|
>
|
|
|
|
</div>
|