From 4c0bd101c57e857ac392db1cf556f936750cae58 Mon Sep 17 00:00:00 2001 From: mkljczk Date: Thu, 5 Dec 2024 16:14:28 +0100 Subject: [PATCH] pl-fe: make search input focusable by hotkeys again Signed-off-by: mkljczk --- packages/pl-fe/src/components/autosuggest-account-input.tsx | 1 + packages/pl-fe/src/components/search-input.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/pl-fe/src/components/autosuggest-account-input.tsx b/packages/pl-fe/src/components/autosuggest-account-input.tsx index aa75dae6f..fadff8f28 100644 --- a/packages/pl-fe/src/components/autosuggest-account-input.tsx +++ b/packages/pl-fe/src/components/autosuggest-account-input.tsx @@ -11,6 +11,7 @@ import type { InputThemes } from 'pl-fe/components/ui/input'; const noOp = () => { }; interface IAutosuggestAccountInput { + id?: string; onChange: React.ChangeEventHandler; onSelected: (accountId: string) => void; autoFocus?: boolean; diff --git a/packages/pl-fe/src/components/search-input.tsx b/packages/pl-fe/src/components/search-input.tsx index 11460b297..36e571bf6 100644 --- a/packages/pl-fe/src/components/search-input.tsx +++ b/packages/pl-fe/src/components/search-input.tsx @@ -78,6 +78,7 @@ const SearchInput = () => {