Only replace bindings whenever value is primitive
This commit is contained in:
parent
07b6e1bfd4
commit
5f16fb84e2
|
@ -67,7 +67,11 @@
|
||||||
innerVal = props.valueKey ? v.target[props.valueKey] : v.target.value
|
innerVal = props.valueKey ? v.target[props.valueKey] : v.target.value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
replaceBindings(innerVal)
|
if (typeof innerVal !== "object") {
|
||||||
|
replaceBindings(innerVal)
|
||||||
|
} else {
|
||||||
|
onChange(key, innerVal)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const safeValue = () => {
|
const safeValue = () => {
|
||||||
|
|
Loading…
Reference in New Issue