Context
I found these while opening every Forms & Fields entry for the Engine 14 slate (#21142, comment 6980411401) on dev 0128668721. The target in #21140 publishes the field types as tiles cropped at rest and renews the form app as a card, and a visitor meets all three defects there.
The Problem
- The color field's list never opens. Clicking the trigger of
examples/form/field/color throws, and nothing opens: TypeError: me.colorFormatter is not a function
at Color.createItemContent (src/list/Color.mjs:60:27)
at Color.createItem (src/list/Base.mjs:523:35)
at Color.createItems (src/list/Base.mjs:666:22)
at Color.onStoreLoad (src/list/Base.mjs:977:16)
at Color.afterSetStore (src/list/Base.mjs:418:37)
- The chip field's inline label sits over its chips.
examples/form/field/chip opens with "US States" drawn across "California" and "New York". The label moves above them only after focus.
- The form app's Save throws. Pressing Save in
apps/form raises me is not defined, and nothing is stored.
The Architectural Reality
ComboBox#beforeSetListConfig() (src/form/field/ComboBox.mjs:387) calls parseItemConfigs(value) to resolve the '@config:' strings in listConfig. Commit 6c8b81c848 (12 Jan 2026, #8571/#8572) changed core.Base#parseItemConfigs() (src/core/Base.mjs:857): it now reads a plain object as a keyed items map and recurses into each value, so the object's own entries are never resolved. form.field.Color sets colorField: '@config:colorField' and colorFormatter: '@config:colorFormatter' in its listConfig (src/form/field/Color.mjs:41-42), and list.Color receives the literal strings. wrapper.AmChart#beforeSetChartConfig() (src/component/wrapper/AmChart.mjs:137) passes one config object the same way. The COVID apps' world maps set maxValue: '@config:heatRulesMaxValue' in their heat rules (apps/covid/view/WorldMapComponent.mjs:57, apps/sharedcovid/view/WorldMapComponent.mjs:57), which the old path reached through the series array.
form.field.Text toggles neo-has-content only in afterSetInputValue() (src/form/field/Text.mjs:561) and afterSetPlaceholderText(). A chip field holds its value in chips and keeps its input empty, so a value never reaches that toggle. Design authority: Chip#hasContent() counts the value, return this.value?.length > 0 || super.hasContent() (src/form/field/Chip.mjs:433), and Text's own rule reads "labelPosition: 'inline' should keep the label at the top" for a field with content (src/form/field/Text.mjs:784-785).
FormContainerController#onSaveButtonClick() reads me without declaring it (apps/form/view/FormContainerController.mjs:47).
The Fix
ComboBox#beforeSetListConfig() and AmChart#beforeSetChartConfig() pass their config as one item, this.parseItemConfigs([value]), which is the path every single object took before 6c8b81c848. The keyed-map branch stays for container.Base items (src/container/Base.mjs:880).
Chip#afterSetValue() toggles neo-has-content from hasContent() once its value list is synced.
onSaveButtonClick() declares me.
Acceptance Criteria
Out of Scope
- The email field's error layout. In a left-labelled field without a character count, the error message shares the input's row and shrinks the input to its 50 px
min-width. Where every text field shows its error is a layout decision of its own, captured as a defect-note.
- The field tiles and the states of #21140's Tiles and Forms & Fields lanes.
Avoided Traps
- Teaching
parseItemConfigs() to guess whether an object is a keyed items map or one config. The callers know which one they pass.
- Toggling
neo-has-content in Text#afterSetValue() for every field. Text and ComboBox already keep value and input in step; only the chip field holds its value outside the input.
Related
Parent #21140 · rows on #21142 · the commit that regressed listConfig and chartConfig: 6c8b81c848 (#8571, #8572).
Live latest-open + closed sweep: latest 20 open (65 open, red band) plus open and closed searches ("colorFormatter", "color field list", "parseItemConfigs", "chip field label", "email field error", "form app save", "listConfig @config") at 2026-11-18T13:59Z. No equivalent. #8572 is the closed refactor that introduced the regression; #4498 (closed) is the earlier exclusion of Neo classes from the same method. A2A in-flight sweep: latest 30 messages, all read-states, at 14:00Z, with no claim on these fields. MC sweep (color list throws, chip label over chips, email error squeezing its input) found no prior report. Own-assignment sweep: 3 open, none on these files.
Decision Record impact: none.
Retrieval Hint: "parseItemConfigs single config object regression since January, color field list colorFormatter string, chip field neo-has-content inline label, form app save me undefined, covid heat rules @config"
⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code
Context
I found these while opening every Forms & Fields entry for the Engine 14 slate (#21142, comment 6980411401) on
dev0128668721. The target in #21140 publishes the field types as tiles cropped at rest and renews the form app as a card, and a visitor meets all three defects there.The Problem
examples/form/field/colorthrows, and nothing opens:TypeError: me.colorFormatter is not a function at Color.createItemContent (src/list/Color.mjs:60:27) at Color.createItem (src/list/Base.mjs:523:35) at Color.createItems (src/list/Base.mjs:666:22) at Color.onStoreLoad (src/list/Base.mjs:977:16) at Color.afterSetStore (src/list/Base.mjs:418:37)examples/form/field/chipopens with "US States" drawn across "California" and "New York". The label moves above them only after focus.apps/formraisesme is not defined, and nothing is stored.The Architectural Reality
ComboBox#beforeSetListConfig()(src/form/field/ComboBox.mjs:387) callsparseItemConfigs(value)to resolve the'@config:'strings inlistConfig. Commit6c8b81c848(12 Jan 2026,#8571/#8572) changedcore.Base#parseItemConfigs()(src/core/Base.mjs:857): it now reads a plain object as a keyed items map and recurses into each value, so the object's own entries are never resolved.form.field.ColorsetscolorField: '@config:colorField'andcolorFormatter: '@config:colorFormatter'in itslistConfig(src/form/field/Color.mjs:41-42), andlist.Colorreceives the literal strings.wrapper.AmChart#beforeSetChartConfig()(src/component/wrapper/AmChart.mjs:137) passes one config object the same way. The COVID apps' world maps setmaxValue: '@config:heatRulesMaxValue'in their heat rules (apps/covid/view/WorldMapComponent.mjs:57,apps/sharedcovid/view/WorldMapComponent.mjs:57), which the old path reached through theseriesarray.form.field.Texttogglesneo-has-contentonly inafterSetInputValue()(src/form/field/Text.mjs:561) andafterSetPlaceholderText(). A chip field holds its value in chips and keeps its input empty, so a value never reaches that toggle. Design authority:Chip#hasContent()counts the value,return this.value?.length > 0 || super.hasContent()(src/form/field/Chip.mjs:433), and Text's own rule reads "labelPosition: 'inline' should keep the label at the top" for a field with content (src/form/field/Text.mjs:784-785).FormContainerController#onSaveButtonClick()readsmewithout declaring it (apps/form/view/FormContainerController.mjs:47).The Fix
ComboBox#beforeSetListConfig()andAmChart#beforeSetChartConfig()pass their config as one item,this.parseItemConfigs([value]), which is the path every single object took before6c8b81c848. The keyed-map branch stays forcontainer.Baseitems (src/container/Base.mjs:880).Chip#afterSetValue()togglesneo-has-contentfromhasContent()once its value list is synced.onSaveButtonClick()declaresme.Acceptance Criteria
examples/form/field/color, the trigger opens the color list with a coloured square per item and no console error. A unit spec pins that the list'scolorFormatterandcolorFieldare the field's own; it is red ondevand green with the fix.#8571added.examples/form/field/chipopens with its label above the chips. A unit spec pinsneo-has-contenton a chip field whose value is set while its input is empty; it is red ondev.apps/form, Save stores the form's values under the localStorage keyneo-formwith no error.maxValue, not the'@config:'string.Out of Scope
min-width. Where every text field shows its error is a layout decision of its own, captured as a defect-note.Avoided Traps
parseItemConfigs()to guess whether an object is a keyed items map or one config. The callers know which one they pass.neo-has-contentinText#afterSetValue()for every field. Text and ComboBox already keep value and input in step; only the chip field holds its value outside the input.Related
Parent #21140 · rows on #21142 · the commit that regressed
listConfigandchartConfig:6c8b81c848(#8571,#8572).Live latest-open + closed sweep: latest 20 open (65 open, red band) plus open and closed searches ("colorFormatter", "color field list", "parseItemConfigs", "chip field label", "email field error", "form app save", "listConfig @config") at 2026-11-18T13:59Z. No equivalent.
#8572is the closed refactor that introduced the regression;#4498(closed) is the earlier exclusion of Neo classes from the same method. A2A in-flight sweep: latest 30 messages, all read-states, at 14:00Z, with no claim on these fields. MC sweep (color list throws, chip label over chips, email error squeezing its input) found no prior report. Own-assignment sweep: 3 open, none on these files.Decision Record impact: none.
Retrieval Hint: "parseItemConfigs single config object regression since January, color field list colorFormatter string, chip field neo-has-content inline label, form app save me undefined, covid heat rules @config"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code