mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 07:01:04 +03:00
fix: Autofocus on the add node search input field (#2887)
fix: autofocus on the search input field
This commit is contained in:
@@ -296,6 +296,8 @@ const AddNodes = ({ nodesData, node, isAgentCanvas }) => {
|
|||||||
<Typography variant='h4'>Add Nodes</Typography>
|
<Typography variant='h4'>Add Nodes</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
<OutlinedInput
|
<OutlinedInput
|
||||||
|
// eslint-disable-next-line
|
||||||
|
autoFocus
|
||||||
sx={{ width: '100%', pr: 2, pl: 2, my: 2 }}
|
sx={{ width: '100%', pr: 2, pl: 2, my: 2 }}
|
||||||
id='input-search-node'
|
id='input-search-node'
|
||||||
value={searchValue}
|
value={searchValue}
|
||||||
|
|||||||
Reference in New Issue
Block a user