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

Adjust EditableListForm setup

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • None

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases