2022-02-19 22:40:27 -08:00
< div class = "mb-3" >
< label class = "form-label" [ for ] = " inputId " > {{title}}< / label >
2021-02-25 16:29:49 +01:00
< div class = "input-group" [ class . is-invalid ] = " error " >
2022-03-11 00:11:59 -08:00
< input class = "form-control" [ class . is-invalid ] = " error " [ placeholder ] = " placeholder " [ id ] = " inputId " maxlength = "10"
2022-05-22 08:59:43 -07:00
(dateSelect)="onChange(value)" (change)="onChange(value)" (keypress)="onKeyPress($event)" (paste)="onPaste($event)"
2022-12-07 15:46:52 -08:00
name="dp" [(ngModel)]="value" ngbDatepicker #datePicker="ngbDatepicker" #datePickerContent="ngModel" [disabled]="disabled">
< button class = "btn btn-outline-secondary calendar" ( click ) = " datePicker . toggle ( ) " type = "button" [ disabled ] = " disabled " >
2022-02-19 22:40:27 -08:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "16" height = "16" fill = "currentColor" class = "bi bi-calendar" viewBox = "0 0 16 16" >
< path d = "M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z" / >
< / svg >
< / button >
2023-05-27 23:16:33 -07:00
< button * ngIf = "showFilter" class = "btn btn-outline-secondary" type = "button" ( click ) = " onFilterDocuments ( ) " [ disabled ] = " this . value = == null " i18n-title title = "Filter documents with this {{title}}" >
< svg class = "buttonicon" fill = "currentColor" >
< use xlink:href = "assets/bootstrap-icons.svg#filter" / >
< / svg >
< / button >
2021-02-24 18:00:26 +01:00
< / div >
2021-02-25 16:29:49 +01:00
< div class = "invalid-feedback" i18n > Invalid date.< / div >
< small * ngIf = "hint" class = "form-text text-muted" > {{hint}}< / small >
2022-08-06 13:02:08 +02:00
< small * ngIf = "getSuggestions().length > 0" >
< span i18n > Suggestions:< / span >
< ng-container * ngFor = "let s of getSuggestions()" >
< a ( click ) = " onSuggestionClick ( s ) " [ routerLink ] = " [ ] " > {{s}}< / a >
< / ng-container >
< / small >
2021-02-24 18:00:26 +01:00
< / div >