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

disabledIf don't dynamically enable disabled controls

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I used disabledIf with 'eq' rule on select type control, wanting to disable some form elements when certain choices are made.

      However, it didn't work as expected. It only updates enable/disable state of the form elements on page reloads, but don't do this when selection changed without page reloading. This makes it basically useless at all.

        Attachments

          Activity

            People

            Assignee:
            moodle.com moodle.com
            Reporter:
            oa_sychev Oleg Sychev
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10