ICEfaces
  1. ICEfaces
  2. ICE-5593

Validation firing on non-required input components

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA
    • Fix Version/s: 1.8.2-EE-GA_P02
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      -

      Description

      The attached test case has a dataTable with 3 selectOneRadio components. The row level object of the table has a boolean attribute bound to the required attribute of the selectOnRadio component. In this case, only the first selectOneRadio is required. Here are the steps to reproduce the issue:

      1. Leave all fields unchecked and click submit. The first selectOneRadio will fire a validation error indicating the value is required, which is correct.
      2. If you now check the first selectOneRadio and click the submit button, the two non-required selectOneRadio components will fire validation errors indicating they are required fields. This is incorrect as the required attribute of each is still set to false.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: