• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coreui / coreui-pro / 38730865035
96%
main: 94%

Build:
Build:
LAST BUILD BRANCH: fix/form-reset-family-v6
DEFAULT BRANCH: main
Ran 15 Oct 2026 11:57AM UTC
Jobs 1
Files 88
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Oct 2026 11:55AM UTC coverage: 96.071% (+0.03%) from 96.042%
38730865035

push

github

web-flow
refactor(Validation): keep the validation of MultiSelect and Combobox in one FieldValidation controller (#1662)

Every form component carried its own copy of the same bookkeeping: the
state class from the markup, the state serial, the user validity
followers, the reset listener, the block, the state class and ARIA on
its parts, and the hand-back on dispose. FieldValidation in
util/field-validation.ts now holds all of it. A component describes its
value fields, frames and focus targets, and calls the controller from
its constructor, after a build (refresh), in setConfig (configure), at
a change of the value (change, then update before each change event),
around user actions (runAsUser, or the userAction flag for a list
gesture that spans several callbacks) and in dispose.

MultiSelect and Combobox move onto it, and the validation conformance
spec gives the same result. What changes for a page:
- only a state class the controller added is removed, so a class the
  page put on a frame stays;
- a host that is not a value field gives its aria-describedby to the
  described targets while the component lives (on Combobox the toggle
  is both), read once at build;
- a disabled Combobox no longer sets a custom validity on its value
  field, which was barred from validation anyway;
- the block depends on disabled only, so a stray readonly key no longer
  matters, and a component with its own gate passes canBlock;
- on a native reset the fields forget a report before the value is put
  back, so the change events of the restore see a clean state.
followUserValidity gains isReported(), so a report moves to a field that
replaces another at the same position.

The controller costs more than these two components give back:
measured with gzip -9 on the build against 5798fa47d, +721 B
coreui.bundle.min.js, +749 B coreui.esm.min.js and +749 B
coreui.min.js. Their ceilings go up by those amounts, and each following
migration lowers them again by what it gives back.

7785 of 8358 branches covered (93.14%)

Branch coverage included in aggregate %.

161 of 163 new or added lines in 4 files covered. (98.77%)

13466 of 13762 relevant lines covered (97.85%)

1773.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.68
0.0% js/src/multi-select.ts
Jobs
ID Job ID Ran Files Coverage
1 38730865035.1 15 Oct 2026 11:57AM UTC 88
96.07
GitHub Action Run
Source Files on build 38730865035
  • Tree
  • List 88
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38730865035
  • 5b830752 on github
  • Prev Build on v6-dev (#38727486006)
  • Next Build on v6-dev (#38732955728)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc