From fb0ad94a9c8cee742965359bf5c1def5f65bdb13 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Tue, 27 Oct 2020 17:05:14 +0100 Subject: [PATCH] added autocomplete --- .../app-frame/app-frame.component.html | 2 +- .../app-frame/app-frame.component.ts | 37 +++++++++++++++++-- .../document-card-large.component.html | 4 +- .../rest/abstract-paperless-service.ts | 6 +-- .../src/app/services/rest/search.service.ts | 4 ++ 5 files changed, 44 insertions(+), 9 deletions(-) diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html index 0d790342a..86471194b 100644 --- a/src-ui/src/app/components/app-frame/app-frame.component.html +++ b/src-ui/src/app/components/app-frame/app-frame.component.html @@ -6,7 +6,7 @@
+ [formControl]="searchField" [ngbTypeahead]="searchAutoComplete" (selectItem)="itemSelected($event)">