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

html_writer::select allow for multiple 'nothing' values but these are not actually supported by the auto submission JS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.2.6, 2.7.3, 2.8.1, 2.9
    • None
    • JavaScript
    • MOODLE_22_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE

    Description

      Just been looking at the autosubmit JS which I recently wrote and discovered that html_writer::select() allows for multiple 'nothing' values.

      Nothing values are those options found at the top of the list which usually say something like "Add a new ..."

      However, the JS which automatically submits these selects (url_select and single_select) does not (and never has) supported multiple nothing values.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dobedobedoh Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: