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

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

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 25 Sep 2026 11:10AM UTC
Jobs 1
Files 76
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

25 Sep 2026 11:08AM UTC coverage: 95.174% (+0.04%) from 95.137%
36127735855

push

github

web-flow
fix(OTPInput): let setConfig turn disabled, readonly and placeholder off again (#1429)

* fix(OTPInput): let setConfig turn disabled, readonly and placeholder off again

The slots only ever received disabled, readonly and placeholder: false or
null left them as they were. setConfig({ disabled: false }) after
setConfig({ disabled: true }) kept every slot disabled while the hidden
input, rebuilt from the config, was enabled again, so the user could not
type and the form posted an empty code. readonly and a placeholder could
not be removed either.

The component remembers what each slot carried in its markup and applies
the three options both ways: a slot is disabled or read-only when the
option or its markup says so, and without a placeholder option it gets
its markup placeholder back or none.

* fix(OTPInput): take back only what the options set on the slots

The first version replayed a snapshot of the slots' markup, taken at
construction, on every setConfig, so a value-only call re-enabled a slot
the page had disabled after init, re-disabled one it had enabled, and
stripped a slot added later of its placeholder and readonly.

The component now records the slots it disabled or made read-only itself
and the placeholder each slot had before it wrote its own, and turning
an option off undoes only that. Calls that do not change these options
leave the slots as they are, and dispose() gives back what the options
set, so a new instance on the same element starts from the page's markup.

6069 of 6625 branches covered (91.61%)

Branch coverage included in aggregate %.

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

11168 of 11486 relevant lines covered (97.23%)

698.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36127735855.1 25 Sep 2026 11:10AM UTC 76
95.17
GitHub Action Run
Source Files on build 36127735855
  • Tree
  • List 76
  • 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 #36127735855
  • 012b2ec0 on github
  • Prev Build on v6-dev (#36125360714)
  • Next Build on v6-dev (#36130049761)
  • 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