Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
We get live bugsnag reports about focus/change/blur not being a function since our latest release:
TypeError P.blur is not a function
TypeError P.change is not a function
TypeError P.focus is not a function
Sadly, I don't know how our prod users achieve the error.
Looking into the prod source, the same places' breakpoints trigger on blur/change/focusing a react-final-form input.
Main change suspected that started to cause this:
- "final-form": "^4.20.6",
- "final-form-arrays": "^3.0.2",
+ "final-form": "^4.20.9",
+ "final-form-arrays": "^3.1.0",
Going through the changeset from 4.20.7 to 4.20.8, 33e551f caught my eye. It changed the blur/change/focus function handling and may not work in all cases.
What is the expected behavior?
Focus/Change/Blur should be a function if existing, and only be called if it's a function.
Sandbox Link
Sadly none.
What's your environment?
Browser: Current Chrome.
Our project is huge, but related to this project should be these dependencies:
"final-form": "^4.20.9",
"final-form-arrays": "^3.1.0",
"final-form-calculate": "^1.3.2",
"react": "^17.0.2",
"react-final-form": "^6.5.9",
"react-final-form-arrays": "^3.1.4",
Other information
Sorry for not providing more info outright, I'll try to provide what I can when asked.
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
We get live bugsnag reports about focus/change/blur not being a function since our latest release:
TypeError P.blur is not a function
TypeError P.change is not a function
TypeError P.focus is not a function
Sadly, I don't know how our prod users achieve the error.
Looking into the prod source, the same places' breakpoints trigger on blur/change/focusing a react-final-form input.
Main change suspected that started to cause this:
Going through the changeset from 4.20.7 to 4.20.8, 33e551f caught my eye. It changed the blur/change/focus function handling and may not work in all cases.
What is the expected behavior?
Focus/Change/Blur should be a function if existing, and only be called if it's a function.
Sandbox Link
Sadly none.
What's your environment?
Browser: Current Chrome.
Our project is huge, but related to this project should be these dependencies:
Other information
Sorry for not providing more info outright, I'll try to provide what I can when asked.