Include document created in filter list
This commit is contained in:
parent
c954fe62f7
commit
08593273ed
@ -16,7 +16,6 @@
|
|||||||
placeholder="Search for documents"
|
placeholder="Search for documents"
|
||||||
[notFoundText]="notFoundText"
|
[notFoundText]="notFoundText"
|
||||||
[multiple]="true"
|
[multiple]="true"
|
||||||
bindLabel="title"
|
|
||||||
bindValue="id"
|
bindValue="id"
|
||||||
[compareWith]="compareDocuments"
|
[compareWith]="compareDocuments"
|
||||||
[trackByFn]="trackByFn"
|
[trackByFn]="trackByFn"
|
||||||
@ -38,6 +37,9 @@
|
|||||||
<div class="spinner-border spinner-border-sm fw-normal ms-2 me-auto" role="status"></div>
|
<div class="spinner-border spinner-border-sm fw-normal ms-2 me-auto" role="status"></div>
|
||||||
<div class="visually-hidden" i18n>Loading...</div>
|
<div class="visually-hidden" i18n>Loading...</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
<ng-template ng-option-tmp let-document="item" let-index="index" let-search="searchTerm">
|
||||||
|
<div>{{document.title}} <small class="text-muted">({{document.created | customDate:'shortDate'}})</small></div>
|
||||||
|
</ng-template>
|
||||||
</ng-select>
|
</ng-select>
|
||||||
</div>
|
</div>
|
||||||
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
|
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user