Skip to content

Commit effb050

Browse files
committed
Merge branch 'issue-1980-fix-custom-meta-updates-18083788771914964547' of https://github.com/wusabyRush/custom-field-meta into issue-1980-fix-custom-meta-updates-18083788771914964547
2 parents 6e1a6a7 + 267778d commit effb050

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/issue-1980-fix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
"@tanstack/react-form": patch
3-
"@tanstack/form-core": patch
2+
'@tanstack/react-form': patch
3+
'@tanstack/form-core': patch
44
---
55

66
fix: subscribe to full meta object in useField to support custom meta properties

packages/react-form/tests/issue-1980.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@ test('firstName should be hidden by default when color is red', async () => {
127127
// "in v1.26.0 and before it works well, after this version it does not hide until I touch the field firstName"
128128

129129
// So the bug is: with current version, `firstName` is NOT hidden on initial mount, even though `onMount` sets it to hidden.
130-
})
130+
})

0 commit comments

Comments
 (0)