Skip to content

Commit 7625001

Browse files
refactor(examples): every named form in the examples is a form item, and the docs teach forms: (#38806)
<!-- claude-projects-attribution: {"github_login":"huangyiirene"} --> _Requested by **Irene** · [project thread](https://claude.ai/code/project/chan_01TJXtQ1tVD26ecLDZxFS67x?thread=cmsg_01TJXtQ1tVD26ecLDZxFS67xS68ohex7kwSZDDRyKDZGMF)_ Fixes #37088 Clause-②: no Metadata-protocol: none Skills-docs: follow-up #37105 — `skills/objectstack-ui` teaching `forms:` is that card's (seat 3); no `skills/**` file is in this PR ## 维护者速读 - 用户能看到什么变化:示例应用里的表单(CRM 的网站留资表单,showcase 的任务表单、四种布局表单和公开联系表单)都改成独立的 form 条目,名字、分区和翻译都不变;唯一改了对外地址的是 CRM 示例的网站留资表单,从 /forms/contact-us 改为 /forms/web-to-lead(showcase 的联系表单占着 /forms/contact-us,两个 form 条目不能共用一个公开地址,否则把 CRM 示例装进 showcase 环境会被拒);showcase 的四种布局表单各多了一个按钮可以打开(任务列表上两个,任务行上两个)。文档改为教 `forms:`,`views:` 只放列表。 - 为什么做:ADR-0159 把表单定为独立的元数据类型,示例和文档还在教旧写法,照抄的开发者和 AI 会继续写旧形状。 - 出错会怎样:只动示例和文档,不动平台代码;公开表单迁移前后实测都能打开、能提交。dogfood 里「隔离租户下管理员读表单时说明原因」那条断言依赖服务器端修复 #38805,它已合入(PR #38807),本 PR 已合并 main,该用例现在通过。 - 要你做什么:无。 ## What changes Every named form in `examples/` that has a consumer moves from its view container to a `defineForm` item under the stack's `forms:`, under its served name. The view containers keep lists only. - **app-crm**: `crm_lead.web_to_lead` moves from `lead.view.ts`'s `formViews` to `src/forms/lead.form.ts`, wired in `objectstack.config.ts`. **Its public address moves from `/forms/contact-us` to `/forms/web-to-lead`** (claim amendment 6). The showcase's `showcase_inquiry.contact` keeps `/forms/contact-us`, and two `form` items may not share one public address: the CRM example's unmanaged install onto a showcase boot answered `409 FORM_ADDRESS_TAKEN`. That is what dogfood `install-local-unmanaged-seed-copy` and `install-local-unmanaged-mode` measured. This is the PR's one served-address change. - **app-showcase**: `showcase_task.form`, `.tabbed`, `.wizard`, `.split`, `.quick` move to `src/ui/forms/task.form.ts`; `showcase_inquiry.contact` (public, `/forms/contact-us`) to `src/ui/forms/inquiry.form.ts`. They are wired in `objectstack.config.ts` beside the existing `FeedbackForm`. - **Four new form actions** (ruling Q0 = A), one consumer per layout form, all `type: 'form'` on `showcase_task` with `refreshAfter: true`: - `showcase_new_task_tabbed` "New Task (Tabbed)" → `showcase_task.tabbed`, at `list` - `showcase_new_task_wizard` "New Task (Wizard)" → `showcase_task.wizard`, at `list` - `showcase_edit_task_tabs` "Edit in Tabs" → `showcase_task.split`, at `record_row` - `showcase_quick_edit_task` "Quick Edit" → `showcase_task.quick`, at `record_row` - zh-CN labels for all four are added. - **Translation tail** (D8): `objects.showcase_inquiry._views.contact.submitBehavior` moves to `forms['showcase_inquiry.contact'].submitBehavior`. - **D7 deletions**: no internal record form that nothing opens was left in the examples (measured empty), so nothing is deleted. - **Tests re-pointed at the form item** (amendments 2 and 3, no assertion weakened): - crm `i18n-sections.test.ts`; showcase `seed.test.ts`, `coverage.test.ts`, `actions.test.ts`, `author-time-advisories.test.ts` - `packages/rest/src/public-form-app-crm-byte-equal.test.ts` and `scripts/cross-package-test-inputs.mjs` - the four showcase public-form dogfood tests, which now read `/meta/form/showcase_inquiry.contact` - **Allow-list** (ruling: lint gap = B): `author-time-advisories.test.ts` allow-lists six `view-ref-form-target-missing` and one `field-no-consumers` advisory, each reason naming #38804 (the lint checks a form action's target against views only, and its consumer roots miss `forms`). No `packages/lint` file is in this PR. - **Docs**: these pages teach `defineForm` / `forms:`, with `views:` as lists only: - `ui/forms.mdx`, `ui/public-data-collection.mdx`, `ui/views.mdx`, `ui/create-vs-edit-form.mdx` - `protocol/kernel/plugin-spec.mdx` - `protocol/kernel/i18n-standard.mdx` (form rows only, plus a new `forms.{form}.sections` row) - `deployment/cli.mdx` (the ticket-view sentence) - the `os:check` blocks in `concepts/architecture.mdx` and `protocol/objectui/index.mdx` (amendment 4) - **Checklist**: two anchors that named `formViews` are re-pointed at `InquiryContactForm` and `TaskForm`. - **Changesets**: one for `@objectstack/example-crm` and one for `@objectstack/example-showcase`. ## Tests See Verification. ## Verification Readings at head `efab27c7b`: - `pnpm --filter @objectstack/example-showcase test`: 49 files, 547 tests passed. `pnpm --filter @objectstack/example-crm test`: 7 files, 53 tests passed (crm typecheck was also green, earlier on this branch). - `objectstack validate` on both apps: exit 0, with no `form-view-internal-not-loaded` and no `form-consumer-less` line. - `packages/rest/src/public-form-app-crm-byte-equal.test.ts`: passes. - `@objectstack/lint` tests `validate-translatable-sections`, `validate-translation-references` and `validate-page-visualization-bindings`: 341 passed. cli i18n section and tab coverage: 38 passed. - Dogfood: the four re-pointed showcase public-form files pass, except the one known assertion (see Acceptance notes). The other 10 related public-form and form dogfood files are green untouched. - `node scripts/check-i18n-bundles.mjs --write` changed nothing, and `pnpm check:i18n` is OK. - `pnpm --filter @objectstack/spec check:skill-examples`: 348 examples type-check, after a `client-react` build. - `node scripts/check-platform-checklist.mjs` (full and `--changed-from origin/main`): OK. - `dispatch-gates --commands`: 118 families. First pass: - 113 exited 0. - 2 exited 1, both fixed and re-run to exit 0: - `check:cross-package-test-inputs`, by the turbo.json input (amendment 5). - `check:role-word`, by a forms.mdx anchor link. - 2 exited 3, each re-run to exit 0 once its prerequisite was met: - `check-plugin-teardown-shape --self-test` (shallow clone). - `check:dual-build-cjs-loads` (after a full `pnpm build`, run with an 8 GB Node heap). - `check:turbo-task-graph`, derived after the turbo.json edit, exited 0. - `--ran` on the record: 118 derived, 116 run, 2 NOT-MEASURED. It reads the first-pass exit 3 for those two, and their re-runs follow in the record with exit 0. - After the address move (head `0fb3615f0`): - The rest byte-equal test and the crm test suite (7 files / 53 tests) pass, and crm `validate` exits 0. - Dogfood `install-local-unmanaged-seed-copy` and `install-local-unmanaged-mode`: 2 files / 26 tests passed. - Dogfood `guest-grants-channel`, `showcase-public-form` and the four re-pointed public-form files: 45 of 46 passed. The one failure is the known walled-intake case. - `check:cross-package-test-inputs`: exit 0. - After merging `origin/main` with #38807 (head `027a4e550`): - `pnpm install --frozen-lockfile` and a full `pnpm build` exit 0. - Dogfood: walled-intake, `showcase-public-form`, the redirect, withdrawal and withdrawal-layers files, and both install-local-unmanaged files: 7 files / 51 tests passed. - `dispatch-gates --commands`: 118 families, all exit 0. `--ran`: 118 derived, 118 run, 0 NOT-MEASURED, 0 UNRUN. ## Acceptance notes - **Walled-intake case, fixed by #38805**: `packages/qa/dogfood/test/showcase-public-form-walled-intake.dogfood.test.ts` › "the administrator's read names why" needed the admin read of a `form` item to carry the walled-posture intake warning. #38805 (PR #38807) added it at path `sharing`. This PR re-points the expected path from the view-era `config.sharing` to `sharing` (the assertion and the file's header comment), and after merging main the case passes. The rest of the assertion is unchanged. - **Done-when grep**: `git grep -lE "formViews|viewKind: 'form'" -- examples content/docs ':!**/CHANGELOG.md'`, with references and releases excluded, returns only migration-describing pages: - `content/docs/concepts/metadata-lifecycle.mdx` (the package-less-overlays ceremony's container handling) - `content/docs/deployment/cli.mdx` (the `os migrate packageless-overlays` and `os migrate stored-forms` rows) - `content/docs/deployment/stored-forms-upgrade.mdx` (the upgrade page) - **`/meta/form` names**: crm `[crm_lead.web_to_lead]` and showcase's 7 names are the same before and after, and none is projected after. - **Public forms answer before and after**: resolve answers 200 and submit 201 for the showcase's `/forms/contact-us` and `/forms/showcase-feedback`, and for the CRM form, now at `/forms/web-to-lead`. - The CRM resolve body differs from the fixture taken before the type in two ways: - `form.data` (`{provider:'object',object:'crm_lead'}`) is absent, because a `form` item carries no `data`; - the address, so `slug` and `form.sharing.publicLink` name `web-to-lead`. - The rest byte-equal test pins both differences and asserts every other byte; `_formDefinedIn` is absent. - **`feedback.form.ts`**: only its stale comment changed. It pointed at the inquiry view and now points at `inquiry.form.ts`. - **Not in this PR**: `content/docs/frontend/plugins/plugin-view.mdx`'s `form:` hits are the React component's prop, not `defineView` (amendment 4). Prose mentions of `formViews` in checklist step text (as opposed to anchors) are left as they are. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01J8VVAohb1X5HaLfC572Naz <!-- signed: repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47bfc94 commit 7625001

41 files changed

Lines changed: 753 additions & 609 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/example-crm': patch
3+
---
4+
5+
examples(crm): the public Web-to-Lead form is a `form` item
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The Web-to-Lead form moves out of `crm_lead`'s view container (its `formViews.web_to_lead` entry) into `src/forms/lead.form.ts`, a `defineForm` item named `crm_lead.web_to_lead` and listed in the stack's `forms:`. Its name, sections and submit answer stay as they were, and `GET /api/v1/meta/form` names the same form, now authored rather than projected. The lead view container now declares lists only.
11+
12+
**The public address moves from `/forms/contact-us` to `/forms/web-to-lead`** (`GET /api/v1/forms/web-to-lead`, `POST /api/v1/forms/web-to-lead/submit`). The showcase example's contact form holds `/forms/contact-us`, and two `form` items may not share one public address, so installing the CRM example into an environment that runs the showcase was refused (`409 FORM_ADDRESS_TAKEN`). An embed or link that pointed at the CRM example's `/forms/contact-us` must point at `/forms/web-to-lead`. The resolve door answers the same body at the new address, less the old shape's `form.data` binding.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/example-showcase': patch
3+
---
4+
5+
examples(showcase): every named form is a `form` item, and each layout form has an action
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The task's default form and its four layout forms (`showcase_task.form`, `.tabbed`, `.wizard`, `.split`, `.quick`) and the public contact form (`showcase_inquiry.contact`, `/forms/contact-us`) move out of their view containers into `src/ui/forms/task.form.ts` and `src/ui/forms/inquiry.form.ts`, `defineForm` items listed in the stack's `forms:` beside the feedback form. Names, sections, links and translations stay as they were; the contact form's thank-you translation moves from `objects.showcase_inquiry._views.contact.submitBehavior` to `forms['showcase_inquiry.contact'].submitBehavior`. The task and inquiry view containers now declare lists only.
11+
12+
Each layout form gets one form action as its door: **New Task (Tabbed)** and **New Task (Wizard)** on the task list toolbar, and **Edit in Tabs** (`split`) and **Quick Edit** on a task row. Before, those four forms were reachable only by typing their `/forms/NAME` address.

‎content/docs/concepts/architecture.mdx‎

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -253,28 +253,29 @@ export const CustomerView = defineView({
253253

254254
{/* os:check */}
255255
```typescript
256-
// src/views/customer.view.ts
257-
import { defineView } from '@objectstack/spec';
258-
259-
// The same defineView container also carries the form layout. A form is a
260-
// list of sections, each holding fields.
261-
export const CustomerView = defineView({
262-
form: {
263-
type: 'simple',
264-
data: { provider: 'object', object: 'customer' },
265-
sections: [
266-
{
267-
name: 'company_information',
268-
label: 'Company Information',
269-
fields: ['name', 'industry', 'annual_revenue'],
270-
},
271-
{
272-
name: 'contact',
273-
label: 'Contact',
274-
fields: ['primary_contact'],
275-
},
276-
],
277-
},
256+
// src/forms/customer.form.ts
257+
import { defineForm } from '@objectstack/spec';
258+
259+
// A form is its own item, listed in the stack's `forms:` beside the views
260+
// (a view container holds lists only). It is a list of sections, each
261+
// holding fields, served by its name where a form action or a public link
262+
// opens it.
263+
export const CustomerIntakeForm = defineForm({
264+
name: 'customer.intake',
265+
object: 'customer',
266+
type: 'simple',
267+
sections: [
268+
{
269+
name: 'company_information',
270+
label: 'Company Information',
271+
fields: ['name', 'industry', 'annual_revenue'],
272+
},
273+
{
274+
name: 'contact',
275+
label: 'Contact',
276+
fields: ['primary_contact'],
277+
},
278+
],
278279
});
279280
```
280281

‎content/docs/deployment/cli.mdx‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,10 +1114,7 @@ no plugins — plus the four-field ticket object, the view and the action listed
11141114
renamed out of that page's `support_desk_` namespace into `my_app_`. That page's `support`
11151115
app is **not** added, which is why the `UI:` row reads `1 Apps`: the starter's own. A
11161116
section with nothing in it still prints its zero row (`Logic: 0 Flows`). The ticket view
1117-
declares an internal create and edit form, so a real compile also prints one
1118-
`form-view-internal-not-loaded` warning after the rules step and a
1119-
`⚠ 1 author-time warning(s)` line under `Build complete`; the `os compile` transcript
1120-
leaves both out. The walkthrough's `os generate` commands are **not** part of the fixture — run those
1117+
declares lists only: the create and edit forms lay a ticket out by its field groups. The walkthrough's `os generate` commands are **not** part of the fixture — run those
11211118
as well and the summary gains `my_app_customer`, a second action and `Logic: 1 Flows`.
11221119
Timings are machine identity, and the rule count and artifact size track the CLI version;
11231120
everything else is fixture identity and reproduces.

‎content/docs/protocol/kernel/i18n-standard.mdx‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,15 +1041,17 @@ ObjectUI automatically translates labels, placeholders, and error messages, on
10411041
the same positional keys — a view's own label under
10421042
`objects.<object>._views.<view>.label`, keyed by the **bare authoring key**,
10431043
never by the `<object>.<key>` identity the registry assigns the served
1044-
document. Mind which key that is: `listViews` / `formViews` entries keep the
1045-
key their author wrote, while an unnamed default `list` is expanded as
1046-
`default` (and a default `form` as `form`), so the view below is addressed at
1047-
`_views.default` — `_views.list` resolves nothing.
1044+
document. Mind which key that is: `listViews` entries keep the key their
1045+
author wrote, while an unnamed default `list` is expanded as `default`, so the
1046+
view below is addressed at `_views.default` — `_views.list` resolves nothing.
1047+
A form is not a view and has no `_views` key: its own copy (`label`, `title`,
1048+
the `submitBehavior` panel, its sections) lives in the `forms` family, keyed by
1049+
the form's served name (`forms.<object>.<key>`, see the key table below).
10481050

10491051
```typescript
1050-
// View definition — `defineView` takes a container of named views
1051-
// ({ list, form, listViews, formViews }); a flat { name, type, ... }
1052-
// object is rejected at build time.
1052+
// View definition — `defineView` takes a container of named lists
1053+
// ({ list, listViews }); a flat { name, type, ... } object is rejected at
1054+
// build time. A form is its own `defineForm` item.
10531055
export default defineView({
10541056
list: {
10551057
type: 'grid',
@@ -1183,8 +1185,9 @@ beneath an action entry are judged the same way under either.
11831185
| `objects.{object}` | an object declared by this stack **or a sibling package of the same artifact** — its keys are then judged row by row below; **or** a platform object, or an object an `objectExtensions[]` entry extends that no package of the artifact declares — both skipped whole, because the owner's fields are not visible from here |
11841186
| `objects.{object}.fields.{field}` | a field that object declares, a field an `objectExtensions[]` entry merges into it, or a system column the registry injects (`id`, `owner_id`, the audit and tenant columns; `_id`, `name` and `space` are accepted too) |
11851187
| `objects.{object}.fields.{field}.options.{key}` | an option's stored **`value`** |
1186-
| `objects.{object}._views.{view}` | the key the view registry assigns a view over that object: a `listViews` / `formViews` map key, or the default `list`'s `name` — `default` when it has none (see [ObjectUI Integration](#objectui-integration)) |
1187-
| `objects.{object}._sections.{section}` | a `fieldGroups[].key`, a named section of a form view over that object (a `formViews` entry or the default `form`), or a named section of a `record:details` component on a page bound to it |
1188+
| `objects.{object}._views.{view}` | the key the view registry assigns a view over that object: a `listViews` map key, or the default `list`'s `name` — `default` when it has none (see [ObjectUI Integration](#objectui-integration)) |
1189+
| `objects.{object}._sections.{section}` | a `fieldGroups[].key`, a named section of a `form` item bound to that object, or a named section of a `record:details` component on a page bound to it — the object-level default a form's own `forms.{form}.sections.{section}` key is read before |
1190+
| `forms.{form}.sections.{section}` / `.fields.{field}` | a named section of the `form` item named `{form}` (its served name, `{object}.{key}`) / an entry `field` that section declares. A form this stack does not author is skipped; the form's `label`, `title` and `submitBehavior` copy beside `sections` are not judged |
11881191
| `objects.{object}._tabs.{tab}` | a filter-preset tab's `name` in `interfaceConfig.userFilters.tabs` on a page over that object (`interfaceConfig.source`, else the page's `object`) — a list view's own `tabs` has no renderer and is not resolvable |
11891192
| `objects.{object}._relatedLists.{list}` | the `list` of an object-form `relatedLists` entry on that object that authors a `label` — a dotted `object.field` is one key; a key over an entry with no `label`, a bare-string entry or a built-in tab is an orphan, because that tab's title is the child lookup field's `relatedListTitle`, translated on the child. The paired `.custom` arrangement's `relatedLists` is applied after the owner's list and every placement: a list it hides, names bare or names without a `label` is an orphan whatever label the owner or a placement gave it, and a list it labels resolves. `os i18n extract` and `os i18n check` expect exactly the keys over the owner's and the arrangement's labelled lists, and the object read translates a title the arrangement sets from the `.custom` package's own translations |
11901193
| `objects.{object}._validations.{rule}` | a validation rule's `name` in that object's `validations[]` or in an `objectExtensions[]` entry aimed at it — a `conditional` rule's `then` / `otherwise` branch included |

‎content/docs/protocol/kernel/plugin-spec.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ Define user interfaces using ObjectUI layout DSL:
316316
// src/views/account_list.view.ts
317317
import { defineView } from '@objectstack/spec';
318318

319-
// `defineView` takes a view *container* keyed by slot (`list`, `form`,
320-
// `listViews`, `formViews`). A flat `{ name, object, type, layout }` object is
319+
// `defineView` takes a view *container* of lists keyed by slot (`list`,
320+
// `listViews`); a form is its own `defineForm` item. A flat `{ name, object, type, layout }` object is
321321
// rejected at build time. The target object goes under `data` (provider
322322
// `object`), and `type` is one of grid | kanban | gallery | calendar |
323323
// timeline | gantt | map | chart | tree — a data table is `grid` (there is no

‎content/docs/protocol/objectui/index.mdx‎

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,19 +232,20 @@ actions:
232232

233233
{/* os:check */}
234234
```typescript
235-
import { defineView } from '@objectstack/spec/ui';
236-
237-
defineView({
238-
form: {
239-
type: 'tabbed', // or 'simple' | 'wizard' — the layout; where it opens is the caller's choice
240-
data: { provider: 'object', object: 'project' },
241-
// In tabbed forms each section renders as its own tab.
242-
sections: [
243-
{ name: 'basic_info', label: 'Basic Info', columns: 2, fields: ['name', 'status'] },
244-
{ name: 'dates', label: 'Dates', columns: 2, fields: ['start_date', 'end_date'] },
245-
{ name: 'team', label: 'Team', fields: ['manager', 'team_lead'] }
246-
]
247-
}
235+
import { defineForm } from '@objectstack/spec/ui';
236+
237+
// A form is its own item (the stack's `forms:`), named `<object>.<key>`;
238+
// a view container holds lists only.
239+
defineForm({
240+
name: 'project.overview',
241+
object: 'project',
242+
type: 'tabbed', // or 'simple' | 'wizard' — the layout; where it opens is the caller's choice
243+
// In tabbed forms each section renders as its own tab.
244+
sections: [
245+
{ name: 'basic_info', label: 'Basic Info', columns: 2, fields: ['name', 'status'] },
246+
{ name: 'dates', label: 'Dates', columns: 2, fields: ['start_date', 'end_date'] },
247+
{ name: 'team', label: 'Team', fields: ['manager', 'team_lead'] }
248+
]
248249
});
249250
```
250251

‎content/docs/ui/create-vs-edit-form.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: One flat, grouped field set gives both the create form and the edit
1010
1111
## Recommended solution
1212

13-
**Author one field set on the object. Group it with `fieldGroups`, and mark the fields a create should not ask for with `showOnCreate: false`.** The Console's create and edit forms both come from that one set. They do not load an internal form view (`form`, `formViews.default` or `formViews.create`); an app that still declares one installs and runs, the form changes nothing on create or edit, and `os validate` reports it as `form-view-internal-not-loaded`. A default or create form that a form action opens by name (its `target` is the form's served name, written out) still loads where that action opens it, and is not reported.
13+
**Author one field set on the object. Group it with `fieldGroups`, and mark the fields a create should not ask for with `showOnCreate: false`.** The Console's create and edit forms both come from that one set. They load no `form` item: a form is served only where a form action or a public link names it, so there is no create or edit form to author. An app that still declares an internal form inside its view container installs and runs, that form changes nothing on create or edit, and `os validate` reports it as `form-view-internal-not-loaded`.
1414

1515
### 1. Put the intent on the fields
1616

@@ -128,7 +128,7 @@ active object is already known and `params` can be omitted.
128128
## Anti-patterns
129129

130130
- **Two full hand-authored field lists** (`contact_create_form` + `contact_edit_form`). Guaranteed drift; the create form silently misses new required fields.
131-
- **Writing `form` or `formViews.create` to shape create or edit.** Neither is loaded; group the fields and use `showOnCreate` instead.
131+
- **Writing a form to shape create or edit.** No form is loaded there; group the fields and use `showOnCreate` instead.
132132
- **Restating field type / validation / options on a form.** Data semantics live on the object only.
133133

134134
## See also

0 commit comments

Comments
 (0)