feat(prompt-editor): add external search and keyboard navigation to

variable picker
This commit is contained in:
zhsama
2026-01-30 02:54:50 +08:00
parent d3fc457331
commit 206d56358d

View File

@ -326,6 +326,9 @@ const ComponentPicker = ({
onBlur={handleClose}
showManageInputField={workflowVariableBlock?.showManageInputField}
onManageInputField={workflowVariableBlock?.onManageInputField}
hideSearch={useExternalSearch}
externalSearchText={useExternalSearch ? (queryString ?? '') : undefined}
enableKeyboardNavigation={useExternalSearch}
autoFocus={false}
isInCodeGeneratorInstructionEditor={currentBlock?.generatorType === GeneratorType.code}
/>