Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-620

Agreement edit/new: return focus to the lookup button when a lookup modal is closed

    XMLWordPrintable

Details

    • ERM Sprint 78
    • Bienenvolk

    Description

      Description

      When a lookup modal is closed, focus should return to the Link/Replace button so that a user using keyboard-only can use the Edit/New form.

      Actual behaviour

      When a lookup modal is closed, focus appears to be unassigned. Pressing tab again moves to the main FOLIO app/horizontal menu. This applies to the lookup modals below:

      1. PO line lookup
      2. License lookup
      3. Organization lookup
      4. Usage data lookup
      5. Related Agreement lookup

      Required behaviour

      When a lookup modal is closed either because the user selected an item in the lookup modal or the user closed the modal without selecting an item, focus should be given to the "Replace [item]" / "Link [item]" button.

      Note that the behaviour of the User lookup (in Internal contacts) is correct.

      Steps to recreate

      1. In the "Organizations" accordion select the "Add organization to agreement" button,
      2. Select the "Link organization" button to open the Organization lookup modal.
      3. Close the modal using the "X" button, this returns the user to the Edit/new pane.

      Focus should have returned to the "Link organization" button.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                gosguthorpe Gill Osguthorpe
                gosguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases