Uploaded image for project: 'OpenMRS Dictionary Manager'
  1. OpenMRS Dictionary Manager
  2. OCLOMRS-891

Reset the Error Message: Create Concept form

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • TBD
    • Resolution: Duplicate
    • None
    • 1.1.0: MVP+
    • None
    • None
    • Medium

    Description

      Bug: If you have triggered an error message on a form (e.g. the Create Concept form), that message stays there the next time you open a new form. (This was addressed in https://issues.openmrs.org/browse/OCLOMRS-878, but this ticket is asking for a deeper fix.)

      Work around/fix requested in this ticket: use a react hook to reset the form state when you recreate a form.

      Acceptance Criteria:

      1. Trigger an error message when creating a concept (or on any form, e.g. Create Concept, Create Dictionary, or Create Source forms). (e.g. you can try to create a concept, dictionary, or source using an ID that already exists.)
      2. See error message. Leave that form.
      3. Open a new Create Concept form, scroll to the bottom.
      4. You should not see the error message from the previous form.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                grace Grace Potma
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: