Uploaded image for project: 'Click'
  1. Click
  2. CLK-164

CheckBox is still active when you set it to readonly.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Since HTML doesn't allow you to set a checkbox to readonly a work around is required.

      A quick fix would be to extend the setReadonly method to call the following when readonly is set to true:

      setAttribute("onclick", "return false;"); which stops the user changing the value.

      A bigger fix would be to set the field to disabled and to include a hidden field with the real value.

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              dfrizelle David Frizelle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: