Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73213

Dropdown value cleared when opening and closing without change

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-73213_401
    • MDL-73213_402
    • Hide

       

      1. Login as admin
      2. Create a test user
      3. Navigate to "Site Administration" in the main menu
      4. Go to the Server tab
      5. Scroll to the section 'Web services' and click on 'Manage Tokens'
      6. Create a token
      7. Expand the "User" dropdown
      8. Select one user
      9. Expand the "User" dropdown again
      10. Close the dropdown menu without choosing any new items.
      11. Click "Save changes"
      12. Confirm that the token was created for the chosen user.
      13. Navigate to Development > Make test course in site administration
      14. Create course of size S
      15. Navigate back to Web services > Manage tokens
      16. Press Create token
      17. Select a user from User dropdown
      18. Expand the User dropdown again_
      19. Close the dropdown menu without choosing any new items.
      20. Click "Save changes"
      21. Confirm that the token was created for the chosen user.
      Show
        Login as admin Create a test user Navigate to "Site Administration" in the main menu Go to the Server tab Scroll to the section 'Web services' and click on 'Manage Tokens' Create a token Expand the "User" dropdown Select one user Expand the "User" dropdown again Close the dropdown menu without choosing any new items. Click "Save changes" Confirm that the token was created for the chosen user. Navigate to Development > Make test course in site administration Create course of size S Navigate back to Web services > Manage tokens Press Create token Select a user from User dropdown Expand the User dropdown again_ Close the dropdown menu without choosing any new items. Click "Save changes" Confirm that the token was created for the chosen user.

      The action of opening the autocomplete to select another option, but not selecting another option appears to clear the already selected option (confirmed by inspecting request data in browser dev tools)

      To reproduce (Note: these refer to Workplace and aren't relevant to Moodle - see comments):

      • Login as admin and go to "Organisation structure" in WP menu
      • Go to Positions/Departments tab
      • Create a new framework
      • Create a Position/Department within the framework
      • Click on the cog icon to edit
      • Expand the "Parent" dropdown
      • Close the dropdown
      • Click "Save"
      • You will se a message saying that "Parent" is required, but it actually exists

            pedro.jordao@moodle.com Pedro Jordao
            odei.alba@moodle.com Odei Alba
            Paul Holden Paul Holden
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 weeks, 2 hours, 59 minutes
                4w 2h 59m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.