Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-97314

Unable to enter decimal separator (comma) with Numeric field set to decimal when validation is enabled and translation set to non-English locale

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:

      Description

      Steps to reproduce:

      1. Go to Content > Forms
      2. Add a new Form
      3. Numeric field
      4. Enable Validation
      5. Fill validation options (If input, The Value and Show Error Message)
      6. Add a translation (Portuguese-BR)
      7. Publish the form
      8. Open the published URL, select Portuguese-BR translation and try to enter a digit using decimal separator (comma)

      Expected Result:

      The user should be able to enter decimal separator (comma) with Numeric field set to decimal when validation is enabled and translation set to non-English locale

      Actual Result:

      Unable to enter decimal separator (comma) with Numeric field set to decimal when validation is enabled and translation set to non-English locale

      Reproduced on:

      Tomcat 9.0.17 + MySQL 5.7

      Master: 8d3eedcbbadd2b1a02e81c0f9820bc739f84e19e

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshua.itagaki Joshua Itagaki
                Reporter:
                joshua.itagaki Joshua Itagaki
                Participants of an Issue:
                Recent user:
                Eduardo Zoby
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  22 weeks, 1 day ago

                  Packages

                  Version Package
                  Master