Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1221

setRequired(true) will force a Checkbox to be checked

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta4
    • Fix Version/s: 6.0.0-beta1
    • Component/s: wicket
    • Labels:
      None

      Description

      If you call setRequired(true) on a Checkbox, then if the user clear the checkbox, it will be treated as an error. Suggest overriding checkRequired()
      in the Checkbox class to always return true.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ivaynberg Igor Vaynberg
                Reporter:
                freemant Kent Tong
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: