react-final-form
react-final-form copied to clipboard
Method form.focus doesn't work
Are you submitting a bug report or a feature request?
Looks like a bug.
What is the current behavior?
I take the object form from FormRenderProps and try to focus on a field by method form.focus('field_name'), but it doesn't work.
What is the expected behavior?
It is possible to focus on the field by method form.focus() and field name.
Sandbox Link
https://codesandbox.io/s/strange-keller-x6c08?file=/src/App.js
What's your environment?
Other information
I'm facing with the same issue. My packages versions are absolutely the same with OP's versions.
Same here. @ahtohbi4 or @vdpdev did you find the issue or a workaround?