You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composibility all the way, right? Well, currently there is no way to e.g. use getFormValues for an unknown form, which makes form components that want to fetch values from whichever form they're in the context in unsupported by the library.
import { withFormName } from 'redux-form'
//...
withFormName(Component)
//...
const Component = ({ form }) => console.log("you're in the context of form" , form)
Feature request:
Composibility all the way, right? Well, currently there is no way to e.g. use getFormValues for an unknown form, which makes form components that want to fetch values from whichever form they're in the context in unsupported by the library.
What is the current behavior?
Solve this in user land:
What is the desired behavior?
Other information
#3242, this SO, may partially or fully solve #3182.
Dan Abramov says:
https://twitter.com/dan_abramov/status/749715530454622208
The text was updated successfully, but these errors were encountered: