question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update name in FormSection breaks form state

See original GitHub issue

Hello, 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:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
SBRKcommented, Aug 3, 2017

I fixed #3229 so that test:flow passes, it should be mergable now

0reactions
lock[bot]commented, Dec 7, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found