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

The user is not able to set Numeric predefined values with a comma when the locale is set to pt-BR

    Details

      Description

      Summary:
      The user is not able to set Numeric predefined values with a comma when the locale is set to pt-BR.

      Steps to reproduce:

      1. Set the Language to Português (Brasil) at Account Settings;
      2. Go to Content > Forms;
      3. Add a Form > add a numeric field;
      4. Set the numeric field type to decimal > try to add a predefined value containing a comma (the decimal separator according to the Brazilian locale conventions);
      5. Observe that is not possible to insert a comma, the user is able only to use a dot as decimal separator (not ok).

      Expected result:
      The user should be able to set Numeric predefined values with a comma when the locale is set to pt-BR and others locales that have this convention.

      Actual result:
      The user is not able to set Numeric predefined values with a comma when the locale is set to pt-BR.

      Reproducible in:
      http://test-6-1-2/web/guest
      master: cba537c39989bbd17606e4de4aa6b9ab9e81b30c
      Updated on: Tue Nov 13 20:16:05 2018 -0800

      http://test-6-1-4/web/guest
      7.1.x-private: 0502c274ac83ebb92d14776f881e56f9d6c2c12e
      7.1.x: 186d66ab283049ba1efd11ecb3493e7f69e29c86
      Updated on: Tue Nov 13 20:13:16 2018 -0800

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  21 weeks, 6 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  Master