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

$mform->hardFreeze() does not seem to work for advcheckboxes used in an array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8
    • Forms Library
    • MOODLE_28_STABLE
    • Hide

      Use checkbox instead of advcheckbox.

      Show
      Use checkbox instead of advcheckbox.

      See: MDL-48047

      We changed from advcheckbox to checkbox and it fixed our problem, but we did not find out what is wrong with advcheckbox.

      The symptoms were that for form element 'abc[0]' calling setDefault('abc[0]', false) hardFreeze('abc[0]') resulted in getData returning abc[0] = 1 (sorry - if that's confusing).

            Unassigned Unassigned
            damyon Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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