Commit 2f670dd
authored
fix(mask): Correct auto-fill handling with literals (#2006)
When the browser auto-fills a masked input field, it may include literal characters
as part of the filled value. The previous implementation did not correctly handle
such cases, leading to incorrect parsing and display of the input value.1 parent 9710ed0 commit 2f670dd
File tree
2 files changed
+19
-1
lines changed- src/components/mask-input
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
625 | 642 | | |
626 | 643 | | |
627 | 644 | | |
| |||
0 commit comments