mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
(feat/widget): autofocus input
This commit is contained in:
@@ -769,6 +769,7 @@ export const WidgetCore = ({
|
|||||||
<PromptContainer
|
<PromptContainer
|
||||||
onSubmit={handleSubmit}>
|
onSubmit={handleSubmit}>
|
||||||
<StyledInput
|
<StyledInput
|
||||||
|
autoFocus
|
||||||
value={prompt} onChange={(event) => setPrompt(event.target.value)}
|
value={prompt} onChange={(event) => setPrompt(event.target.value)}
|
||||||
type='text' placeholder="Ask your question" />
|
type='text' placeholder="Ask your question" />
|
||||||
<StyledButton
|
<StyledButton
|
||||||
|
|||||||
Reference in New Issue
Block a user