mirror of
https://github.com/langgenius/dify.git
synced 2026-02-21 02:14:44 +08:00
fix: not auto focus and popup var hide
This commit is contained in:
parent
286ab0d468
commit
5156b8f9c9
@ -65,6 +65,7 @@ const InputField: React.FC<Props> = ({
|
||||
onChange={(e) => {
|
||||
setTempPayload(prev => ({ ...prev, output_variable_name: e.target.value }))
|
||||
}}
|
||||
autoFocus
|
||||
/>
|
||||
</div>
|
||||
<div className='mt-4'>
|
||||
|
||||
@ -72,7 +72,7 @@ const PrePopulate: FC<Props> = ({
|
||||
value: valueSelector || [],
|
||||
onChange: onValueSelectorChange!,
|
||||
readonly: false,
|
||||
zIndex: 1000,
|
||||
zIndex: 1000000, // bigger than shortcut plugin popup
|
||||
}
|
||||
|
||||
const isShowPlaceholder = !onPlaceholderClicked && (isVariable ? (!valueSelector || valueSelector.length === 0) : !value)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user