From cfbb9bfcaa82186189ff2d3f2ba3257f1eebb498 Mon Sep 17 00:00:00 2001 From: Kacper Date: Fri, 8 Apr 2022 17:21:30 +0200 Subject: [PATCH] Added option on frontend side to render MultiSelect as input instead of selector with no options --- .../src/components/backend/DataTable/RowFieldControl.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte b/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte index 7087dd0c23..ee01ef7467 100644 --- a/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte +++ b/packages/builder/src/components/backend/DataTable/RowFieldControl.svelte @@ -34,10 +34,10 @@ $: label = meta.name ? capitalise(meta.name) : "" const timeStamp = resolveTimeStamp(value) - const isTimeStamp = timeStamp ? true : false + const isTimeStamp = !!timeStamp -{#if type === "options"} +{#if type === "options" && meta.constraints.inclusion.length !== 0}