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

Frozen ajax autocomplete element displays ids instead of text values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11.8, 4.0.2
    • 4.0.1
    • Forms Library
    • MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-74972-master
    • Hide
      1. Apply the patch:

        curl https://gist.githubusercontent.com/marinaglancy/de591d1c47728c7ed211b713abcc1b5b/raw/c9bef2e198422112b138c68320d55d103b09d378/MDL-74972.patch | git apply

      2. Go to any forum and select "Export" from the secondary navigation
      3. You should see the user name (i.e. "Admin User") as a value for "Users" field, and not "2"
      Show
      Apply the patch: curl https://gist.githubusercontent.com/marinaglancy/de591d1c47728c7ed211b713abcc1b5b/raw/c9bef2e198422112b138c68320d55d103b09d378/MDL-74972.patch | git apply Go to any forum and select "Export" from the secondary navigation You should see the user name (i.e. "Admin User") as a value for "Users" field, and not "2"

      Autocomplete form elements that use AJAX to popuplate options can have a callback that displays the pre-selected values .

      This callback is not used when displaying the pre-selected values in a frozen element

        1. MDL-74972_master.png
          MDL-74972_master.png
          16 kB
        2. MDL-74972_v311.png
          MDL-74972_v311.png
          13 kB
        3. MDL-74972_v400.png
          MDL-74972_v400.png
          18 kB

            marina Marina Glancy
            marina Marina Glancy
            Odei Alba Odei Alba
            Andrew Lyons Andrew Lyons
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 15 minutes
                2h 15m

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