From 465f2a6fbdb96a65461aac79f4d9e04a65b0cc00 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 3 Nov 2020 09:42:46 +0000 Subject: [PATCH] Add multi option select and multi table view field select components --- .../userInterface/MultiOptionSelect.svelte | 39 +++++++++++++++++++ .../MultiTableViewFieldSelect.svelte | 5 +++ .../userInterface/TableViewFieldSelect.svelte | 11 ++++-- 3 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 packages/builder/src/components/userInterface/MultiOptionSelect.svelte create mode 100644 packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte diff --git a/packages/builder/src/components/userInterface/MultiOptionSelect.svelte b/packages/builder/src/components/userInterface/MultiOptionSelect.svelte new file mode 100644 index 0000000000..30ad7672ff --- /dev/null +++ b/packages/builder/src/components/userInterface/MultiOptionSelect.svelte @@ -0,0 +1,39 @@ + + +
+ + {#each options as option} + + {/each} + +
+ + diff --git a/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte b/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte new file mode 100644 index 0000000000..7d2f17a02b --- /dev/null +++ b/packages/builder/src/components/userInterface/MultiTableViewFieldSelect.svelte @@ -0,0 +1,5 @@ + + + diff --git a/packages/builder/src/components/userInterface/TableViewFieldSelect.svelte b/packages/builder/src/components/userInterface/TableViewFieldSelect.svelte index 30e1becca8..756936be82 100644 --- a/packages/builder/src/components/userInterface/TableViewFieldSelect.svelte +++ b/packages/builder/src/components/userInterface/TableViewFieldSelect.svelte @@ -1,11 +1,12 @@ - +{#if multiselect} + +{:else} + +{/if}