aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-main/misc/simple-search-input.component.html
blob: ae57ca5b771c6f98b48bd33ebe6d89b6523530a5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                  
                                     









                                  
                                                                                                                                                         
        




                                                                                                                                            
<div class="root">
  <div class="input-group has-clear">
    <input
      #ref
      type="text"
      [(ngModel)]="value"
      (keyup.enter)="sendSearch()"
      [hidden]="!inputShown"
      [name]="name"
      [placeholder]="placeholder"
    >

    <my-global-icon iconName="cross" role="button" class="form-control-clear" title="Clear filter" i18n-title (click)="onResetFilter()"></my-global-icon>
  </div>

  <my-global-icon iconName="search" aria-label="Search" role="button" (click)="onIconClick()" [title]="iconTitle"></my-global-icon>

  <my-global-icon *ngIf="!alwaysShow && inputShown" i18n-title title="Close search" iconName="cross" (click)="hideInput()"></my-global-icon>
</div>