diff --git a/frontend/src/lib/components/apps/components/display/dbtable/InsertRow.svelte b/frontend/src/lib/components/apps/components/display/dbtable/InsertRow.svelte index 2a757a8aee..b6e139562f 100644 --- a/frontend/src/lib/components/apps/components/display/dbtable/InsertRow.svelte +++ b/frontend/src/lib/components/apps/components/display/dbtable/InsertRow.svelte @@ -148,8 +148,9 @@ $: if (schema) { const requiredFields = schema.required ?? [] const filledFields = Object.keys(args).filter( - (key) => args[key] !== undefined && args[key] !== null + (key) => args[key] !== undefined && args[key] !== null && args[key] !== '' ) + isInsertable = requiredFields.every((field) => filledFields.includes(field)) }