Skip to content

form.setErrorMap is not a function #1901

@junqdu

Description

@junqdu

Describe the bug

Getting form.setErrorMap is not a function after updating to @tanstack/react-form@1.26.0

Your minimal, reproducible example

https://stackblitz.com/edit/tanstack-form-nvmd8gjz?file=src%2Findex.tsx

Steps to reproduce

Try to use form.setErrorMap, see line 33 in the link above

Expected behavior

Read the changlogs for react-form and form-core, didn't see any mentioning of removal of that API. So I'd expect not seeing that error.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

MacOS, Chrome

TanStack Form adapter

None

TanStack Form version

1.26.0

TypeScript version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions