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