blob: 0c7b5038a51b6aaa7fe08a7962dd0f381244eeb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<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>
<ul class="dropdown-menu" role="menu" aria-labelledby="simple-btn-keyboard-nav" *dropdownMenu>
<li *ngFor="let choice of choiceKeys" class="dropdown-item" role="menu-item">
<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>
|