diff --git a/app/assets/javascripts/components/search/search_field.ts b/app/assets/javascripts/components/search/search_field.ts index 16183d5cd1..6b33c8fdbd 100644 --- a/app/assets/javascripts/components/search/search_field.ts +++ b/app/assets/javascripts/components/search/search_field.ts @@ -79,8 +79,6 @@ export class SearchFieldSuggestion extends FilterElement { export class SearchField extends FilterCollection { @property({ type: String }) placeholder: string; - @property({ type: Boolean }) - eager: boolean; @property({ state: true }) filter?: string = ""; @@ -110,13 +108,6 @@ export class SearchField extends FilterCollection { setFilter(); } - update(changedProperties: Map): void { - if (changedProperties.has("eager") && this.eager) { - search.search(); - } - super.update(changedProperties); - } - keydown(e: KeyboardEvent): void { if (e.key === "Tab") { e.preventDefault(); diff --git a/app/views/layouts/_searchbar.html.erb b/app/views/layouts/_searchbar.html.erb index d68b016cc7..15e8cd4ba7 100644 --- a/app/views/layouts/_searchbar.html.erb +++ b/app/views/layouts/_searchbar.html.erb @@ -13,7 +13,6 @@