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

IgniteUI / igniteui-webcomponents / 45604774201
100%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 11:30AM UTC
Jobs 1
Files 282
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 Nov 2026 11:28AM UTC coverage: 99.661% (+0.005%) from 99.656%
45604774201

push

github

web-flow
feat(mask-input): fit the value to a new mask (#2651)

* feat(mask-input): fit the value to a new mask

After the first render, a change of mask makes the value the raw text
that the new mask shows. Value 1234 becomes 12 after a change from
00-00 to 00, and stays 12 after a change back. The change emits no
events and keeps the control pristine. The attributes keep the value
in any order. A change of prompt keeps the raw value.

Fixes:
- A value with the mask length and its literals in place, such as the
  igcChange detail in withFormatting mode, keeps its positions. Before,
  12-34 showed as 12-_3, so a two-way binding broke the text.
- A write of the same value, mask or prompt, as React wrappers do on
  each render, keeps the typed text.
- A change of prompt keeps the empty positions of the text.
- A focused empty control shows the empty mask of a new mask or prompt.

* fix(mask-input): read the setup value in any order and reset the text

Before the first render, a change of mask or prompt reads the last
written value again. So masked text and prompt attributes give the same
value in any order: value="12-34" mask="00-00" and the reverse both give
1234. A setRangeText edit before the first render is kept too.

A form reset builds the text from the default value again, also when
the raw value stays the same. Before, a text with an empty position,
such as _1 for the mask 0C, stayed after the reset and kept badInput set.

* fix(mask-input): keep a typed character that matches a new prompt

The text cannot tell a typed character from a prompt that is the same
character. With mask CCC and value a*b, a prompt change from _ to * and
back showed a_b, while the value stayed a*b.

A prompt change now swaps the prompt in place only while the text still
shows the raw value. If it does not, the text is built from the raw
value again.

* fix(mask-input): keep the positions of the text on a prompt change

A prompt change now draws the text again from the last text ... (continued)

10377 of 10500 branches covered (98.83%)

Branch coverage included in aggregate %.

130 of 130 new or added lines in 2 files covered. (100.0%)

60399 of 60517 relevant lines covered (99.81%)

7955.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45604774201.1 25 Nov 2026 11:30AM UTC 282
99.66
GitHub Action Run
Source Files on build 45604774201
  • Tree
  • List 282
  • Changed 93
  • Source Changed 2
  • Coverage Changed 93
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45604774201
  • 333588ad on github
  • Prev Build on master (#45584501268)
  • Next Build on master (#45634348782)
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