diff --git a/packages/standard-components/src/DataProvider.svelte b/packages/standard-components/src/DataProvider.svelte index 93d884ad5c..e7feb804f3 100644 --- a/packages/standard-components/src/DataProvider.svelte +++ b/packages/standard-components/src/DataProvider.svelte @@ -93,6 +93,13 @@ } else { schema = {} } + + // Ensure all schema fields have a name property + Object.entries(schema).forEach(([key, value]) => { + if (!value.name) { + value.name = key + } + }) }