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

coreui / coreui-pro / 30744941631
93%
main: 95%

Build:
Build:
LAST BUILD BRANCH: refactor/promote-pickers-v2
DEFAULT BRANCH: main
Ran 02 Aug 2026 11:04AM UTC
Jobs 1
Files 61
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

02 Aug 2026 11:02AM UTC coverage: 93.122% (+0.001%) from 93.121%
30744941631

push

github

web-flow
fix(OTPInput): accept a code delivered by SMS autofill or a password manager (#665)

Autofill and password managers insert the whole code at once and fire `input`,
never `paste` — and the `input` handler only accepted `value.length === 1`,
while every slot carried `maxlength=1` and `autocomplete="one-time-code"`.
The code therefore stayed in the slot that received it (or was truncated to a
single character), the hidden form control kept its old value, and neither
`change` nor `complete` fired — so the form submitted an empty OTP and
auto-submit flows never ran.

- A multi-character value arriving in any slot is now spread across the field
  through the same path as a paste; a value at least as long as the field is
  treated as a complete code and fills from the first slot.
- The hidden value is read back from the slots, so a partial paste no longer
  discards characters already entered (`9` + paste `87` => `987`, was `87`).
- Only the first slot advertises `autocomplete="one-time-code"`; the rest are
  `off`, so autofill targets a single field. The first slot accepts the whole
  code while empty and shrinks back to one character once filled.
- Slots gained `enterkeyhint`, `autocorrect="off"` and `spellcheck="false"`.

The attribute recipe follows Base UI's OTP field, which uses the same
one-input-per-slot architecture we do. Seven regression tests, all red before
the fix; verified end to end in headless Chromium against the built bundle.

4690 of 5279 branches covered (88.84%)

Branch coverage included in aggregate %.

28 of 29 new or added lines in 1 file covered. (96.55%)

1 existing line in 1 file now uncovered.

9080 of 9508 relevant lines covered (95.5%)

633.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
87.91
0.9% js/src/otp-input.ts

Coverage Regressions

Lines Coverage ∆ File
1
64.63
-0.61% js/src/navigation.ts
Jobs
ID Job ID Ran Files Coverage
1 30744941631.1 02 Aug 2026 11:04AM UTC 61
93.12
GitHub Action Run
Source Files on build 30744941631
  • Tree
  • List 61
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30744941631
  • a8305c93 on github
  • Prev Build on v6-dev (#30743748688)
  • 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