Commit 4ca09a4
committed
fix: createForm missing onboard override and SelfClosingElement type
- Add onboard() to createForm that batch-wraps register(), preventing
bulk field registration from bypassing form-specific setup (validation
state, Object.defineProperty value wrapping, pristine tracking)
- Fix SelfClosingElement type: keyof typeof array gives numeric indices,
(typeof array)[number] gives the correct string union of tag names1 parent 3e83b89 commit 4ca09a4
File tree
2 files changed
+6
-1
lines changed- packages/0/src
- composables/createForm
- constants
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| 270 | + | |
266 | 271 | | |
267 | 272 | | |
268 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
0 commit comments