🚸 Improve feedback when variable input did …
This commit is contained in:
@ -81,7 +81,10 @@ export const VariableSearchInput = ({
|
||||
|
||||
useOutsideClick({
|
||||
ref: dropdownRef,
|
||||
handler: onClose,
|
||||
handler: () => {
|
||||
onClose()
|
||||
setInputValue(variables.find(byId(initialVariableId))?.name ?? '')
|
||||
},
|
||||
isEnabled: isOpen,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user