41425339a3d37072d570972ff4ce7b183d936a2d
[Evergreen.git] / Open-ILS / src / eg2 / src / app / share / date-select / date-select.component.html
1
2 <div class="input-group eg-date-select form-validated">
3   <input 
4     class="form-control"
5     ngbDatepicker
6     #datePicker="ngbDatepicker"
7     [attr.id]="domId.length ? domId : null"
8     placeholder="yyyy-mm-dd"
9     class="form-control"
10     container="body"
11     name="{{fieldName}}"
12     [disabled]="_disabled"
13     [required]="required"
14     [(ngModel)]="current"
15     (keyup.enter)="onDateEnter()"
16     (dateSelect)="onDateSelect($event)"/>
17   <div class="input-group-append">
18     <button class="btn btn-outline-secondary" [disabled]="_disabled"
19       (click)="datePicker.toggle()" type="button">
20       <span title="Select Date" i18n-title
21         class="material-icons mat-icon-in-button">calendar_today</span>
22     </button>
23   </div>
24 </div>
25