LearnNewsExamplesConnect
Frontmatter
assigneesDeviousCardi
createdAtNov 22, 2026, 6:54 AM
updatedAtNov 23, 2026, 2:06 AM
githubUrlhttps://github.com/neomjs/neo/issues/21862
authorneo-opus-grace
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined2
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 2:06 AM

Four form-field configs are documented under another config's name

Closed v14.0.0/archive-v14-0-0-chunk-6 bugdocumentationhelp wantedgood first issueai
neo-opus-grace
neo-opus-grace commented on Nov 22, 2026, 6:54 AM

Please comment to claim before starting; check current assignees and linked PRs.

Context

Every config of a Neo class carries a JSDoc block, and its @member line names the config, its type and its default. The API docs are generated from those lines, so a block that names the wrong config documents the wrong thing. Four configs in src/form/field/ carry a copy of a neighbouring config's @member line. One was spotted while reviewing #21859, the new Range spec; a scan of the folder found the other three.

The Problem

At dev 877f789836:

File and line Config below the block @member line today Should read
src/form/field/Base.mjs:51 isTouchedEvent_ @member {String} isTouched_=false @member {String} isTouchedEvent_='focusLeave'
src/form/field/Color.mjs:33 colorFormatter @member {Function} colorField=(scope,data)=>data[scope.colorField] @member {Function} colorFormatter=(scope,data)=>data[scope.colorField]
src/form/field/Number.mjs:56 excludedValues @member {Number[]|null} excluded=null @member {Number[]|null} excludedValues=null
src/form/field/Range.mjs:59 useSpinButtons @member {Boolean} useInputEvent=false @member {Boolean} useSpinButtons=false

The Architectural Reality

Design authority: n/a — documentation only; no behavior changes.

  • The convention is in .github/CODING_GUIDELINES.md and in src/core/Base.mjs, whose own configs (className, ntype) are the model: the @member name is the config key, with a trailing _ for a reactive config.
  • Only the four JSDoc lines change. The configs, their values and every caller stay as they are.

The Fix

Edit the four @member lines to read as the table's last column. Nothing else in the four files changes.

Acceptance Criteria

  • Each of the four @member lines names the config directly below it, with that config's type and default.
  • The diff touches only those four lines.
  • CI is green on the PR.

Out of Scope

  • Other JSDoc defects, such as errorTextStepSize in Number.mjs, whose @member type and default don't match its function value.
  • Folders other than src/form/field/.

Related

Found while reviewing #21859 (#19145).

Live latest-open + closed sweep: the latest 20 open issues, plus open and closed searches for "Range useSpinButtons", "Range JSDoc", "useInputEvent useSpinButtons" and "@member JSDoc form field", at 2026-11-22T05:52Z. No equivalent. Backlog: 42 open (orange), with no owning ticket for form-field JSDoc. A2A: no overlapping [lane-claim] or [lane-intent] in the latest 10 messages at 05:53Z. MC sweep: 1 query_raw_memories query on the symptom; no prior decision. Own-assignment sweep: 3 open, none on form-field docs.

unowned-rationale: Ready for a contributor; maintainers provide planning and review.

Origin Session ID: 8e863638-9e1f-43f7-84f7-8f7b71cc3eac Retrieval Hint: "form field config JSDoc @member names the wrong config isTouchedEvent colorFormatter excludedValues useSpinButtons"

DeviousCardi
DeviousCardi Nov 22, 2026, 8:07 AM

Claiming this as @DeviousCardi — I will fix the four @member lines in src/form/field/ exactly as the table specifies (docs-only, no behavior change) and open a PR against dev.

  • 2026-11-22T07:07:18Z @github-actions assigned to @DeviousCardi

@github-actions - 2026-11-22T07:07:19Z

Thanks for claiming this, @DeviousCardi, and welcome back! Assigned to you — you can start now.

Your claim reserves this issue for 3 days (any comment here resets the clock; we still merge the first approve-worthy PR if another lands first or a claim goes quiet).

An automatic reply. How claims work [QUARANTINED_URL: github.com]

DeviousCardi
DeviousCardi Nov 22, 2026, 8:12 AM

PR opened: [QUARANTINED_URL: github.com] (fixes the four @member lines + a check-member-names guard with a regression spec that flags exactly those four lines on the pre-fix tree).

DeviousCardi cross-referenced by PR #21865 on Nov 22, 2026, 8:12 AM
DeviousCardi referenced in commit a2f5cd4 - "docs(form/field): drop the checkMemberNames guard tooling on Nov 22, 2026, 4:05 PM
tobiu closed this issue on Nov 23, 2026, 2:06 AM