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

Possible to change the date in date_selector even when it is greyed out as a result of disabledIf

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.6, 2.7.3, 3.0.9
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_30_STABLE

      Description

      When a group of elements are disabled via disabledIf the dateselector element is not affected.

      i.e. when adding a new session in the attendance module enddate (day, month and year) drop downs are disabled by default as they are not used. However you can still change the end date with the date selector even though it will have no affect this is confusing to the user.

      I expect there will be other examples throughout Moodle.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              joseph.baxter Joseph Baxter
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: