From 17e9e379d64c6e915dde3ac5a04bbda3cc1f7b55 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Sun, 24 Jul 2022 19:46:37 -0700 Subject: [PATCH] set the first fiels as active --- web/app/cad/craft/operationPlugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/cad/craft/operationPlugin.ts b/web/app/cad/craft/operationPlugin.ts index de51d020..d4f21910 100644 --- a/web/app/cad/craft/operationPlugin.ts +++ b/web/app/cad/craft/operationPlugin.ts @@ -54,6 +54,7 @@ export function activate(ctx: ApplicationContext) { let operation = { appearance, schemaIndex, + defaultActiveField: schemaIndex.fields[0]?.flattenedPath, // to be overridden by descriptor ...descriptor, schema, form };