We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee5a79 commit 5830035Copy full SHA for 5830035
src/ValueNodeWrapper.tsx
@@ -126,6 +126,7 @@ export const ValueNodeWrapper: React.FC<ValueNodeProps> = (props) => {
126
const customNode = customNodeDefinitions.find((customNode) => customNode.name === type)
127
if (customNode) {
128
onEdit(customNode.defaultValue, path)
129
+ setCurrentlyEditingElement(null)
130
setDataType(type)
131
} else {
132
const newValue = convertValue(
@@ -138,6 +139,7 @@ export const ValueNodeWrapper: React.FC<ValueNodeProps> = (props) => {
138
139
)
140
updateValue(newValue as ValueData)
141
onEdit(newValue, path)
142
143
144
}
145
0 commit comments