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

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

      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.

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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