Fix automatic generation of form field group schemas

This commit is contained in:
Andrew Kingston 2021-03-22 18:07:11 +00:00
parent 5d9692e338
commit 938efc5b67
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@
componentInstance._id,
component => component._component.endsWith("/form")
)
const datasource = form?.datasource
const fields = makeDatasourceFormComponents(datasource)
const dataSource = form?.dataSource
const fields = makeDatasourceFormComponents(dataSource)
onChange(
"_children",
fields.map(field => field.json())