Merge pull request #574 from Budibase/bugfix/replace-bindings
Only replace bindings whenever value is primitive
This commit is contained in:
commit
9d45de1d28
|
@ -67,7 +67,11 @@
|
||||||
innerVal = props.valueKey ? v.target[props.valueKey] : v.target.value
|
innerVal = props.valueKey ? v.target[props.valueKey] : v.target.value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (typeof innerVal !== "object") {
|
||||||
replaceBindings(innerVal)
|
replaceBindings(innerVal)
|
||||||
|
} else {
|
||||||
|
onChange(key, innerVal)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const safeValue = () => {
|
const safeValue = () => {
|
||||||
|
|
Loading…
Reference in New Issue