c686be4d2835000de5f337e2f60b9d10da714817
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / date-select / date-select.component.html
1
2 <div class="input-group">
3   <input 
4     class="form-control" 
5     ngbDatepicker
6     #datePicker="ngbDatepicker"
7     placeholder="yyyy-mm-dd"
8     class="form-control"
9     name="{{fieldName}}"
10     [required]="required"
11     [(ngModel)]="current"
12     (dateSelect)="onDateSelect($event)">
13   <div class="input-group-append">
14     <button class="btn btn-outline-secondary" 
15       (click)="datePicker.toggle()" type="button">
16       <span title="Select Date" i18n-title                       
17         class="material-icons mat-icon-in-button">calendar_today</span>
18     </button>
19   </div>
20 </div>
21