pl-fe: make search input focusable by hotkeys again

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2024-12-05 16:14:28 +01:00
parent 6687a12f01
commit 4c0bd101c5
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import type { InputThemes } from 'pl-fe/components/ui/input';
const noOp = () => { };
interface IAutosuggestAccountInput {
id?: string;
onChange: React.ChangeEventHandler<HTMLInputElement>;
onSelected: (accountId: string) => void;
autoFocus?: boolean;

View File

@ -78,6 +78,7 @@ const SearchInput = () => {
<div className='relative'>
<AutosuggestAccountInput
id='search'
placeholder={intl.formatMessage(messages.placeholder)}
value={value}
onChange={handleChange}