Uploaded image for project: 'stripes-components'
  1. stripes-components
  2. STCOM-203

Adjust EditableListForm setup

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:

      Description

      The current EditableListForm setup causes issues when moving between different setting pages (for example groups and addresses). More details here: UIU-381.

      It appears that this happens because redux-form destroys previous form every time we move away from the given page. The problem is that the @redux-form/DESTROY (from the previous form) is being dispatched after @redux-form/INITIALIZE of the new form. Adding destroyOnUnmount: false seems to resolve this and the issue described in UIU-381.

      Another solution here could be to pass a different name to stripes-form (in a dynamic fashion). We don't support it at the moment.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mpk35 Michal Kuklis
                Reporter:
                mpk35 Michal Kuklis
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases