pl-fe: make search input focusable by hotkeys again
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -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;
|
||||
|
||||
@ -78,6 +78,7 @@ const SearchInput = () => {
|
||||
|
||||
<div className='relative'>
|
||||
<AutosuggestAccountInput
|
||||
id='search'
|
||||
placeholder={intl.formatMessage(messages.placeholder)}
|
||||
value={value}
|
||||
onChange={handleChange}
|
||||
|
||||
Reference in New Issue
Block a user