]>
Commit | Line | Data |
---|---|---|
1 | <div class="root"> | |
2 | <div class="input-group has-clear"> | |
3 | <input #ref type="text" class="last-in-group" | |
4 | [(ngModel)]="value" (keyup.enter)="sendSearch()" [hidden]="!inputShown" [name]="name" [placeholder]="placeholder" | |
5 | > | |
6 | ||
7 | <my-global-icon iconName="cross" role="button" class="form-control-clear" title="Clear filter" i18n-title (click)="onResetFilter()"></my-global-icon> | |
8 | </div> | |
9 | ||
10 | <my-global-icon iconName="search" aria-label="Search" role="button" (click)="onIconClick()" [title]="iconTitle"></my-global-icon> | |
11 | ||
12 | <my-global-icon *ngIf="!alwaysShow && inputShown" i18n-title title="Close search" iconName="cross" (click)="hideInput()"></my-global-icon> | |
13 | </div> |