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

choosecoursefile form element doesn't allow attributes to be specified for text field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.5
    • 1.9.4
    • Forms Library
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Moderate

      It seems that the "choosecoursefile" formslib group element doesn't allow to specify any attribute in the $attributes parameter. They are set to the group element without effect in the text field. So things like size or maxlength cannot be specified.

      As the group only has 2 elements (buttton and text), make it to forward any attribute received straight to the text element.

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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