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

calendar pop-up icon doesn't visually disable

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_36_STABLE

      Description

      Some forms have a date entry field that can be enabled and disabled via a checkbox.

      When disabled, the calender icon to use the pop-up selector remains blue (or the standard theme link color) rather than being grayed out like the other parts of the control, even though it is actually disabled and can't be used.

      This could be changed by adding/removing the "disabled" class to the <a> tag as the control enables/disables.

      There is already code to add the cursor style default as inline styles, which becomes unnecessary as a.disabled in Bootstrap does this as well.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bawjaws David Scotson
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Bas Brands, Barbara Ramiro, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: