Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-3168

Ensure Validator Reset only applies to fields with rules

    Details

      Description

      Form Validator sets a onBlur or onInput delegate for every input under the form. This causes it to reset the validation UI for any input that's interacted with, regardless of whether there's a rule for that field.

      This is an issue when a developer has set validation classes on fields which do not have validation rules themselves (input may be for display only), but represent to the user a "hidden" value.

      This change proposes to only reset validation UI on fields Form Validator already has rules for and is already applying validation classes to.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.mak Jonathan Mak
              Reporter:
              byran.zaugg Byran Zaugg (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 22 weeks, 3 days ago

                  Packages

                  Version Package
                  master
                  master-deprecated
                  3.1.x
                  3.1.0-deprecated.61