From a0ed3fb39bd427c5c9c4de2ab50de55c7c9963f9 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 23:29:31 +0000 Subject: [PATCH] docs(plugins): qualify `FormField` to the copy plugin-form.mdx describes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The page asserted `FormField` is "declared once, in `@object-ui/types`". That is a closure claim and it is false: `@objectstack/spec` ships a same-named `FormField` in `json-schema/ui/FormField.json`. Qualify the name to the copy the page means, following the shape PR #6168 used for `MarkdownSchema` on plugin-markdown.mdx. The 21-row table is unchanged — it restates the `@object-ui/types` copy exactly. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_019b5UBNMtTzKbVtZZGvFuxe --- content/docs/plugins/plugin-form.mdx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/docs/plugins/plugin-form.mdx b/content/docs/plugins/plugin-form.mdx index aeaad38e29..3387c2dcb6 100644 --- a/content/docs/plugins/plugin-form.mdx +++ b/content/docs/plugins/plugin-form.mdx @@ -48,11 +48,14 @@ npm install @object-ui/plugin-form ### Form Field -`FormField` is declared once, in `@object-ui/types` -(`packages/types/src/form.ts`) — this page does not redeclare it, because a -locally written `interface` compiles no matter how far it has drifted from the -real one. It has **23 declared keys**, and `name` is the only **required** one: -`type` and `label` are both optional. +`FormField` here means the one declared by `@object-ui/types` +(`packages/types/src/form.ts`) — `@objectstack/spec` ships its own copy of this +name (`json-schema/ui/FormField.json`) with a different key set, so read this +table against the `@object-ui/types` copy rather than the same-named schema in +the spec. This page does not redeclare it, because a locally written +`interface` compiles no matter how far it has drifted from the real one. It +has **23 declared keys**, and `name` is the only **required** one: `type` and +`label` are both optional. | Key | Type | What it does | | --- | --- | --- |