Update autoscreens to add new form type setting

This commit is contained in:
Andrew Kingston 2021-06-09 13:08:36 +01:00
parent e5737987c5
commit 739abfd706
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ const createScreen = table => {
const form = makeMainForm() const form = makeMainForm()
.instanceName("Form") .instanceName("Form")
.customProps({ .customProps({
actionType: "Create",
theme: "spectrum--lightest", theme: "spectrum--lightest",
size: "spectrum--medium", size: "spectrum--medium",
dataSource: { dataSource: {

View File

@ -110,6 +110,7 @@ const createScreen = table => {
const form = makeMainForm() const form = makeMainForm()
.instanceName("Form") .instanceName("Form")
.customProps({ .customProps({
actionType: "Update",
theme: "spectrum--lightest", theme: "spectrum--lightest",
size: "spectrum--medium", size: "spectrum--medium",
dataSource: { dataSource: {