Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1588

Validation error images are included in the markup for fields without errors, even when the form has client validation disabled

    Details

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

      Description

      If you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur):

      <img alt="[Error]" class="t-error-icon t-invisible" id="cancel:icon" src="/app/assets/tapestry/field-error-marker.png">

      With clientValidation="false" this should not be needed and markup could be improved + page load time reduced.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                martin.grotzke Martin Grotzke
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: