From d667a42841b11e8576ab8c247f23f0bb8ecb587d Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Fri, 6 Mar 2026 15:33:12 +0100 Subject: [PATCH] disable dynamic fields for db studio config --- .../apps/editor/component/components.ts | 36 ++++++++++++------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/component/components.ts b/frontend/src/lib/components/apps/editor/component/components.ts index df6d1b2a0e..707d992799 100644 --- a/frontend/src/lib/components/apps/editor/component/components.ts +++ b/frontend/src/lib/components/apps/editor/component/components.ts @@ -4159,14 +4159,16 @@ This is a paragraph. type: 'static', fieldType: 'resource', subFieldType: 'mysql', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } }, ms_sql_server: { @@ -4174,14 +4176,16 @@ This is a paragraph. type: 'static', fieldType: 'resource', subFieldType: 'ms_sql_server', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } }, snowflake: { @@ -4189,14 +4193,16 @@ This is a paragraph. type: 'static', fieldType: 'resource', subFieldType: 'snowflake', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } }, bigquery: { @@ -4204,14 +4210,16 @@ This is a paragraph. type: 'static', fieldType: 'resource', subFieldType: 'bigquery', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } }, ducklake: { @@ -4219,14 +4227,16 @@ This is a paragraph. type: 'static', fieldType: 'ducklake', subFieldType: 'ducklake', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } }, datatable: { @@ -4234,14 +4244,16 @@ This is a paragraph. type: 'static', fieldType: 'datatable', subFieldType: 'datatable', - value: '' + value: '', + allowTypeChange: false } as StaticAppInput, table: { fieldType: 'select', subFieldType: 'db-table', type: 'static', selectOptions: [], - value: undefined + value: undefined, + allowTypeChange: false } } }