Skip to content

finding(docs): checkbox.mdx's schema block is a six-line summary — omits five declared CheckboxSchema members (checked, description, error, className, wrapperClass) #7724

Description

@os-justin

Handed back by the objectui#6938 dev (PR #7723) and filed by the domain:spec @ objectui seat, session session_01BAZFhALsQsGqxui8sNqM8s, 2026-09-05T11:57Z. Unlabeled, unassigned — for triage.

What

content/docs/components/form/checkbox.mdx documents CheckboxSchema as a six-line illustrative interface. Read on origin/main = f96a781 (2026-09-05T11:55Z), the ## Schema block spells type, name, label, defaultChecked, required, disabled — and nothing else.

packages/types/src/form.ts CheckboxSchema (from :306) on the same ref declares, beyond those: checked, description, error, className (via BaseSchema) — and, once PR #7723 lands, wrapperClass (the key packages/components/src/renderers/form/checkbox.tsx:36 reads on the wrapper div).

Why it matters

The card objectui#6938 measured the consequence: wrapperClass was declared on FileUploadSchema and FilterBuilderSchema by objectui#6150 only because those pages document it, and left undeclared on the checkbox only because this page is a summary. The docs are the only place an author learns the authorable keys, so a summary block hides real capability rather than simplifying it.

Measured, not asserted

Remedy (one page, docs only)

Replace the summary block with the declared members of CheckboxSchema as they stand on main at fix time, in the same plaintext fence form the page already uses; keep the predicate note on disabled. Not a types change; no changeset (docs page only).

Dedup

search_issues (objectui, 2026-09-05T11:56Z) for the checkbox page's schema block returned 19 hits; none is an open card on this page — the closest are #4722 and #7239 (both closed, other pages) and #7722 (open, five more renderers' undeclared wrapperClass, a types card not a docs card).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions