Skip to content

change is not a function #1026

@FC-jan

Description

@FC-jan

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

We received a bugsnag alert about state.change not being a function:
TypeError P.change is not a function

Meanwhile, we at least introduced source maps, so the code mentioned points me to:
Screenshot 2023-03-10 at 15 23 32

What is the expected behavior?

change should be a function and should only be called if it's a function.

Sandbox Link

Sadly, I again have no idea how our end users produce the exception.

What's your environment?

"final-form": "4.20.7",
"react": "^17.0.2",
"react-final-form": "^6.5.9",

Current chrome, node 18

Other information

Sorry for again not being able to provide more info - I reported a similar, but different issue in final-form.

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