mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-09 23:16:13 +01:00
feat(date.component): adding suggestions to frontend
This commit is contained in:
parent
e0f341938a
commit
c52d18da1f
4 changed files with 49 additions and 4 deletions
|
|
@ -12,4 +12,10 @@
|
|||
</div>
|
||||
<div class="invalid-feedback" i18n>Invalid date.</div>
|
||||
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
|
||||
<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>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue