T
TanStackβ€’16mo ago
conscious-sapphire

Why are the types different in @tanstack/form-core on Github and on npm? "pushValue"

For methods on FieldApi such as pushValue, the method code on Github accepts a second argument 'opts' but it's not present on the npm version (here viewed on the npm code browser) How does this happen? And how to deal with this?
No description
No description
4 Replies
causal-orange
causal-orangeβ€’16mo ago
Those changes were just pushed yesterday with this commit: https://github.com/TanStack/form/commit/567072591d3e73a6cc8384664126e8182bc56447 They will be in the next release πŸ™‚
GitHub
feat(core): forward options from field to form methods (#701) Β· Tan...
* fix(FormApi): Add missing options for swapping and moving array field values * fix(FieldApi): forward array field options to form method * docs: Add hint about array field options to docs +...
extended-salmon
extended-salmonβ€’16mo ago
We're having issues with our automated release process due to Nx cloud failures. We're working on resolving them πŸ˜…β˜ΊοΈ
conscious-sapphire
conscious-sapphireOPβ€’16mo ago
@Leonardo @crutchcorn Thank you for the replies πŸ˜„ I've started using tanstack form in a project and it's been just a joy. Huge thanks (other than figuring out the { touch: true } stuff! hope the defaults change soon haha)
extended-salmon
extended-salmonβ€’16mo ago
They will ☺️

Did you find this page helpful?