Update name in FormSection breaks form state
See original GitHub issueHello, great library as always 😃
Are you submitting a bug report or a feature request?
Bug
What is the current behavior?
The problem happens when I try to update the value in the name
prop in the FormSection
component.
But when I update the value, it appears that the registered fields keep the “namespace” from the last FormSection
value, making it doubling the new FormSection
state with the old state in the same form
state.
What is the expected behavior?
The expected behaviour would be that the name
prop in the FormSection
component be updatable in the form state.
Sandbox Link
You can see the problem in this link: https://codesandbox.io/s/0Rw1mMrNG
Other information
I’ve already opened a questino on SO 7 days ago: http://stackoverflow.com/questions/43971083/redux-form-how-to-update-formsection-name-prop/43974941#43974941
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
redux-form: How to update FormSection name prop
The problem is that even if I destroy the form state, and even if I re-register the fields, the loaded component will still...
Read more >Add sections to your survey or questionnaire - Microsoft Support
In Microsoft Forms, open the survey, questionnaire, or other type of form for which you want to add sections. Select + Add new....
Read more >Form Sections configuration - Known Error
There is a form sections issue where broken relationships between the sys_ui_section and sys_ui_form_section records cause forms to not load.
Read more >How to structure a web form - Learn web development | MDN
You now have all the knowledge you'll need to properly structure your web forms. We will cover many of the features introduced here...
Read more >Breaking forms into sections - a free SwiftUI by Example tutorial
Updated for Xcode 14.1. Updated in iOS 15. SwiftUI's forms often work best when broken into sections, just like regular lists of content....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed #3229 so that
test:flow
passes, it should be mergable nowThis 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.