diff --git a/packages/builder/src/builderStore/fetchBindableProperties.js b/packages/builder/src/builderStore/fetchBindableProperties.js index 93407fb941..6e5444a91d 100644 --- a/packages/builder/src/builderStore/fetchBindableProperties.js +++ b/packages/builder/src/builderStore/fetchBindableProperties.js @@ -1,4 +1,4 @@ -import { cloneDeep, difference } from "lodash" +import { cloneDeep, difference } from "lodash/fp" /** * parameter for fetchBindableProperties function @@ -23,7 +23,7 @@ import { cloneDeep, difference } from "lodash" * @param {fetchBindablePropertiesParameter} param * @returns {Array.} */ -export default function({ componentInstanceId, screen, components, models }) { +export default function ({ componentInstanceId, screen, components, models }) { const walkResult = walk({ // cloning so we are free to mutate props (e.g. by adding _contexts) instance: cloneDeep(screen.props), diff --git a/packages/builder/src/components/userInterface/BindingDropdown.svelte b/packages/builder/src/components/userInterface/BindingDropdown.svelte new file mode 100644 index 0000000000..95ae86f1a2 --- /dev/null +++ b/packages/builder/src/components/userInterface/BindingDropdown.svelte @@ -0,0 +1,49 @@ + + +
{value}
+ + + + diff --git a/packages/builder/src/components/userInterface/PropertyControl.svelte b/packages/builder/src/components/userInterface/PropertyControl.svelte index a168ef9742..8fce04e6b1 100644 --- a/packages/builder/src/components/userInterface/PropertyControl.svelte +++ b/packages/builder/src/components/userInterface/PropertyControl.svelte @@ -1,4 +1,6 @@