Commit 01b24a9
fix: sync validation errors for delayed-mounted fields (#1691)
* test: field mount bug test
* feat: implement form error persistence for delayed-mounted fields
* refactor: rename hidden field mount test file to use .test-d.ts extension
* ci: apply automated fixes and generate docs
* fix: ensure field errors are properly cleared when removing form fields
* ci: apply automated fixes and generate docs
* refactor: simplify field error management by removing _allFieldErrors state
* refactor: replace setTimeout with vi.useFakeTimers and sleep utility in field tests
* fix: handle undefined field metadata gracefully in form validation
* ci: apply automated fixes and generate docs
* fix: add optional chaining for fieldMeta after upstream merge
* refactor: simplify form error handling logic
* ci: apply automated fixes and generate docs
* Add changeset
* chore: fix wrong merge resolution
* ci: apply automated fixes and generate docs
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: LeCarbonator <[email protected]>1 parent 36fa503 commit 01b24a9
File tree
4 files changed
+403
-16
lines changed- .changeset
- packages/form-core
- src
- tests
4 files changed
+403
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1257 | 1257 | | |
1258 | 1258 | | |
1259 | 1259 | | |
| 1260 | + | |
1260 | 1261 | | |
1261 | 1262 | | |
1262 | 1263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1671 | 1671 | | |
1672 | 1672 | | |
1673 | 1673 | | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
1678 | 1684 | | |
1679 | 1685 | | |
1680 | 1686 | | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
| 1687 | + | |
1684 | 1688 | | |
1685 | 1689 | | |
1686 | 1690 | | |
| |||
1692 | 1696 | | |
1693 | 1697 | | |
1694 | 1698 | | |
1695 | | - | |
1696 | | - | |
1697 | | - | |
1698 | | - | |
| 1699 | + | |
| 1700 | + | |
1699 | 1701 | | |
1700 | 1702 | | |
1701 | 1703 | | |
| |||
1705 | 1707 | | |
1706 | 1708 | | |
1707 | 1709 | | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
1711 | | - | |
1712 | | - | |
| 1710 | + | |
| 1711 | + | |
1713 | 1712 | | |
1714 | 1713 | | |
1715 | 1714 | | |
| |||
0 commit comments