-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
First of all - thanks for the great component to keep form state in a Redux store!
It helps us a lot to manage customisable forms.
The problem we have with 6.2.0 is that infinite REGISTER_FIELD/UNREGISTER_FIELD loop appears when we try to get form field values. Initial values is an object, containing array { dataLocators: [] }. Here is the code we use to get current values:
@reduxForm({
form: 'layout-generator-settings',
validate
})
@connect(
state => ({
values: selector(state, 'dataLocators')
})
)
That's it, now everything redux-form does on form load - registering and unregistering all values in array


Will appreciate your help a lot.
davidfurlong, AlexEmerson, drwatsno, JuoCode and peteratticusberg
Metadata
Metadata
Assignees
Labels
No labels