Skip to content

console: the named-form page (/forms/NAME) ignores a form field's span, so span: 'full' and the wide-type default render one cell wide #37559

Backlog

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (b) a declared contract is not honoured · Source: fleet (out-of-scope finding 1 of the #36798 dev report 7192270649; escalated by the contract review 7192974019 on PR #37544 for a carrier)

What happens

ui/apps/console/src/components/FormPage.tsx (origin/main 061e342) builds each field's width from the absolute colSpan only: colSpan: override.colSpan ?? 1 (:917), then f.colSpan === 2 ? 'sm:col-span-2' … (:3369–3372). It never reads the relative span.

Contract: packages/spec/src/ui/view.zod.ts:4325 FormFieldSchema.span: 'full' "resolves to the form grid's full column count"; 'auto' (the default) sizes from the widget type, so textarea, markdown, html, richtext, repeater and a multiple file/image field resolve to the full column count.

Seam: spec:FormField.span → renderer:ui/apps/console/src/components/FormPage.tsx (field colSpan build :917, span classes :3369)

reach: named real producer: examples/app-showcase/src/ui/views/task.view.ts:414 declares { field: 'notes', …, span: 'full' } on the default form, served at /forms/showcase_task.form. Since #36425 the named-form page is the only console surface that still loads a form view, so the key now has no reader that honours it. A run is not yet recorded; platform-checklist records-forms revision 10 (PR #37547) notes the gap in knownGaps[2] and does not score the width.

Expected

  • On the named-form page, a field with span: 'full' takes the whole row at every multi-column tier, and span: 'auto' follows the wide-type default; an authored colSpan still wins, as the spec says.
  • Prefer the shared resolver the record form already uses (resolveColSpan / the span ladder named in the spec docblock at view.zod.ts:4315–4324) over a third copy.
  • Pin: a FormPage test that renders a span: 'full' field and a textarea in a 2-column section and asserts each takes the full row.
  • Afterwards, re-score records-forms acceptance[2]'s width half (knownGaps[2]).

Dedupe: searched FormPage span colSpan (open issues), 0 matching cards besides #36798.
Related: #36798, PR #37547, #36425.

Activity

  1. added
    bug
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:queue · size S; rationale: the named-form page (/forms/NAME) ignores a form field's span, so span: 'full' and the wide-type default are dropped. A declared contract that is not honoured on a public page, so p2.

  3. added
    domain:ui
    pm:queue
    priority:p2
    on Nov 26, 2026
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

    area:uxbugdomain:uipm:queuepriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions