Commit 8c29200
committed
fix(input-otp): correct paste behavior to always start at first box
1 parent 82d086f commit 8c29200
File tree
2 files changed
+9
-12
lines changed- core/src/components/input-otp
- test/basic
2 files changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
| 554 | + | |
559 | 555 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
564 | 559 | | |
565 | 560 | | |
566 | 561 | | |
| 562 | + | |
| 563 | + | |
567 | 564 | | |
568 | 565 | | |
569 | 566 | | |
570 | 567 | | |
571 | | - | |
| 568 | + | |
572 | 569 | | |
573 | 570 | | |
574 | 571 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| |||
0 commit comments