Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-986

SPIKE: Field mapping profiles. State of final-form fields is not reset. Try <Onchange> approach

    XMLWordPrintable

Details

    • Folijet Sprint 120
    • 3
    • Folijet
    • R3 2021

    Description

      Overview: When switching between Folio record types fields with the same name do not reset the state (value, dirty, etc.), although the field values are equal to the initial.

      Current workaround: none.

      Steps to Reproduce:

      1. Checkout to UIDATIMP-826 branch (ui-data-import repository)
      2. Log into FOLIO-snapshot-load as diku_admin
      3. Go to Settings/Data Import
      4. Create a new field mapping profile
      5. Select a Folio record type (e.g. Instance)
      6. Select another Folio record type (e.g. Holdings)
      7. Observe fields state, so fields with the same name do not reset the state (value, dirty, etc.), although the field values are equal to the initial.

      Expected Results: Fields have the initial state.

      Actual Results: Fields with the same name do not reset the state (value, dirty).

      Additional Information: See attached video

      Note: Current bug can be reproduced locally from UIDATIMP-826 branch. Worked fine with redux-form.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                Mariia_Aloshyna Mariia Aloshyna
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases