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

Formslib templates: size attribute can apply to any select, not just multiple, and should apply to selectgroup as well as select

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.2, 3.8
    • Fix Version/s: 3.7.3
    • Component/s: Forms Library, Themes
    • Labels:

      Description

      It turns out that Boost, and now Classic themes break tool_editrolesbycap (https://moodle.org/plugins/tool_editrolesbycap.

      The select-related templates handle the size attribute wronly. There are usability reasons why sometimes you want size set without multiple (e.g. Moodle groups UI).

        Attachments

        1. image-2019-10-08-10-23-44-858.png
          image-2019-10-08-10-23-44-858.png
          107 kB
        2. screenshot-1.png
          screenshot-1.png
          22 kB
        3. test.php
          2 kB

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Jake Dallimore
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m