Browse Source
Merge pull request #574 from Budibase/bugfix/replace-bindings
Only replace bindings whenever value is primitive
gh-pages
Conor_Mack
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
packages/builder/src/components/userInterface/PropertyControl.svelte
|
|
|
@ -67,7 +67,11 @@ |
|
|
|
innerVal = props.valueKey ? v.target[props.valueKey] : v.target.value |
|
|
|
} |
|
|
|
} |
|
|
|
replaceBindings(innerVal) |
|
|
|
if (typeof innerVal !== "object") { |
|
|
|
replaceBindings(innerVal) |
|
|
|
} else { |
|
|
|
onChange(key, innerVal) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const safeValue = () => { |
|
|
|
|