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

Unable to desactivate validateOnInput. Wrong behaviour on iPad/Safari, IE8.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.5.2.3, 1.5.2.4, 1.5.2.5, 1.5.2.6, 1.5.2.7
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Liferay 6.1.3 GA3 EE, Safari iPad 1, Windows IE8

      Description

      In Validator, ValidateOnInput value is ignored, hence there is no way to desactivate live validation in a form.

      Validation on input has wrong behaviour on iPad/Safari. Scenario:
      1. The user has input text in <required> field of the form.
      2. The user has deleted all the text.
      3. The error message appears.
      4. The user starts to type. After the first letter, the error message disappears. The input looses focus. The focus is set back to input but the cursor position is wrong. (one letter before the last one inserted).
      5. Result: the user inputs "abcd", the input contains "bcda". in case of email validation, the user inputs "abc@abc.com" and the value is "abc@abc.cmo". Very problematic when typing password as the user can't see input value.

      Internet Explorer 8:
      1. For <required> input, the error message appears after typing 1st letter. Disappears after typing 2nd. (validation is fired just before the value is changed, not after).

      While setting ValidateOnInput to false manually (it is suppose to be by default false) the form is still being validated on input.

      Mentioned errors appears ONLY in Liferay portlets.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ui_alloy UI Alloy
              Reporter:
              michsima Michał Sima
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 6 weeks, 5 days ago

                  Packages

                  Version Package