From cd8e007da81986da3d2505390da9d94bf243c14e Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sat, 11 Feb 2023 01:07:20 +0000 Subject: [PATCH] force display column to be chosen when uploading csv --- .../backend/TableNavigator/modals/CreateTableModal.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte index d7beab11e4..923645f582 100644 --- a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte +++ b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte @@ -105,7 +105,10 @@ title="Create Table" confirmText="Create" onConfirm={saveTable} - disabled={error || !name || (rows.length && !allValid)} + disabled={error || + !name || + (rows.length && !allValid) || + displayColumn == null} >