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

coreui / coreui-pro / 46154402742
97%
main: 94%

Build:
Build:
LAST BUILD BRANCH: feat/sidebar-dialog-v6
DEFAULT BRANCH: main
Ran 28 Nov 2026 02:25PM UTC
Jobs 1
Files 99
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

28 Nov 2026 02:23PM UTC coverage: 96.858% (+0.001%) from 96.857%
46154402742

push

github

web-flow
fix(FormValidation): make validation states a page adds work like the built-in ones (#1911)

* fix(FormValidation): merge added validation states into the built-in ones

A page that added a state through `@use ... with ($form-validation-states: ("warning": ...))`
replaced the whole map: the compiled stylesheet kept `.is-warning` and lost every
`.valid-feedback`, `.invalid-feedback` and `.is-valid` rule, while the docs said the map could
be extended. The map is now `$validation-states`, declared empty and merged with `defaults()`,
and each entry names a theme color (`"warning": "warning"`). The built stylesheets do not change.

Overriding `$color`, `$tooltip-color`, `$focus-ring-color` or `$border-color` from a map entry
is gone; the `form-validation-state` mixin still takes them, and a state is retinted through its
theme color.

* fix(FormValidation): let every given state win over the success the browser reports

Under `data-coreui-validate="valid"` a control the page marked with a state added to
`$validation-states`, say `.is-warning`, also matched `:user-valid` once its value was valid, so
it showed the success message next to its own and took the success colour on the control, the
frame, the check, the radio and the switch. The `:user-valid` rules only stepped aside for
`.is-invalid`. They now step aside for `.is-invalid` and every other state of the map but `valid`,
read from the map by `form-validation-given-states()`, so a state added later is covered without
touching the rules, and a map without `invalid` still compiles. A combobox or a multi select
given such a state hides the success of its hidden select the same way.

In an input group a control in an added state is raised like a valid one, so the neighbouring
button no longer covers its border on the shared edge.

With the default map the list is `.is-invalid` alone and the built stylesheets do not change.

* fix(Form): add no success next to a state class the page set from an added state
... (continued)

8810 of 9316 branches covered (94.57%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

14618 of 14872 relevant lines covered (98.29%)

2373.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46154402742.1 28 Nov 2026 02:25PM UTC 99
96.86
GitHub Action Run
Source Files on build 46154402742
  • Tree
  • List 99
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46154402742
  • 65936101 on github
  • Prev Build on v6-dev (#46146039757)
  • Next Build on v6-dev (#46162366493)
  • 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