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

group of mform elements display badly whether label is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.3
    • Administration
    • None
    • MOODLE_23_STABLE
    • Hide

      replace the empty $label with

      ' '

      Show
      replace the empty $label with ' '
    • Hide

      Set theme to standard
      Copy the attached file to your moodle root folder.
      Call it with: http://<<yourserver>>/HEAD/demo_err.php

      Show
      Set theme to standard Copy the attached file to your moodle root folder. Call it with: http://<<yourserver>>/HEAD/demo_err.php

      Set theme to standard
      Copy the attached file to your moodle root folder.
      Call it with: http://<<yourserver>>/HEAD/demo_err.php

      You will se a very simple mform well diplayed.

      Now edit the code and uncomment line 13 so that $label = ''

      Call the page again.

      As you can see while the first select is always displayed in the right place, the group element slither on the left.

        1. demo_err.php
          1 kB
          Daniele Cordella

            rajeshtaneja Rajesh Taneja
            daniss Daniele Cordella
            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.