Erik Rasmussen
Erik Rasmussen
Seems like you could do a `formRef.current = form` in your ``'s render prop (or a ``)... Not gonna be set on first render, but would be from there on....
How about something like this: ```jsx const MyForm = () => { const form = React.useRef() return ( ... } ``` Where the form element will be courteous enough to...
And presumably if what was in the `[]` was a number, it would be array syntax? This is a very hard problem. That's why [`lodash.set`](https://bundlephobia.com/[email protected]) is over 40% the size...
Can you check again with `v4.2.0`?
Yeah, not really supported. Interesting idea, though.
Dupes #594
The Redux Form project has [plenty of examples](http://redux-form.com/6.5.0/examples/), which are each standalone applications. I'm not sure what a "complete reference app" would have that the examples do not.
I'll consider this. You're not the first to request it. However, until/if it's implemented, it's not _too_ difficult to do it oneself... ```jsx function TestForm() { const formRef = React.useRef()...
Another possibility is that there's a recent API change #520 (that I just now remembered to document π ) that [lets you provide your own form instance](https://github.com/final-form/react-final-form#form-formapi) to ``, so something...
Published fix in [`v8.3.10`](https://github.com/redux-form/redux-form/releases/tag/v8.3.10).