final-form / final-form/react-final-form-hooks

Uncaught TypeError: form.setConfig is not a function

Open
#29 4 comments 9 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
469
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Version: react-final-form-hooks@1.0.0

I'm not able to use the latest release 1.0.0. I get following excpetion: "Uncaught TypeError: form.setConfig is not a function"
Here is a simple example: https://codesandbox.io/s/n03r1q8omm

When I look at the source, the problem is, that you access the "form" object instead of "form.current" or "getForm()".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.