Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change is not a function #1026

Open
FC-jan opened this issue Mar 10, 2023 · 1 comment
Open

change is not a function #1026

FC-jan opened this issue Mar 10, 2023 · 1 comment

Comments

@FC-jan
Copy link

FC-jan commented Mar 10, 2023

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.

@FC-jan
Copy link
Author

FC-jan commented Mar 30, 2023

minor update: might be related to our usage of final-form-arrays. we also had other issues probably related to that, see also final-form/final-form#472.
as stated there, I was provided with some angles, and will still try to reproduce the issue - but this might also be it for now, as we seem to have worked around the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant