We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wrote plugin for one form
const formWithPlugin = reduxFormReducer.plugin({ publicProcessEdit: handleActions({ 'redux-form/CHANGE': (state, { meta: { field }, payload: value }) => { // ... }) }) })
But this plugin is also called for any other form
Additionally, it occurs error when i try to update value in plugin:
return update(state, { values: { repeatEvery: { value: { $set: 1 } } } })
because it is called for right form 1 time, and another form in second time for wrong form state is empty and i am getting:
state
Can't change value of undefined
My temporary solution for it in plugin:
if (Object.getOwnPropertyNames(state).length === 0) { return state }
The text was updated successfully, but these errors were encountered:
Ha! 🙈 Testing FAIL on my part. Good catch. Well reported.
Sorry, something went wrong.
+1
added test for #1127
d5bd80a
This is fixed. I will comment here again when the fix is published.
Published in v6.0.0-rc.1.
v6.0.0-rc.1
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
I wrote plugin for one form
But this plugin is also called for any other form
Additionally, it occurs error when i try to update value in plugin:
because it is called for right form 1 time, and another form in second time for wrong form
state
is empty and i am getting:My temporary solution for it in plugin:
The text was updated successfully, but these errors were encountered: