Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2889

Autocomplete widgets should not lose initial value on losing focus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.9.0, 1.9 Beta Sprint
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      When an auto complete widget loads an initial value from the database, if you click to focus it and then click away, the displayed value gets cleared. But if the value is selected from the auto complete drop down, then it will behave correctly and stay even on loosing focus.
      To reproduce this, try to for instance edit a visit that has an indication concept. Make sure that you open the edit visit form with the indication concept loaded from the database instead of you selecting it from the dropdown. Click on the widget to give it focus and then click away, the displayed value will be cleared.

        Attachments

          Activity

            People

            Assignee:
            raff Rafal Korytkowski
            Reporter:
            dkayiwa Daniel Kayiwa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: