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

Predefined value for numeric field with type Integer appears Decimal on the sidebar for forms with translation

    Details

      Description

       Steps to reproduce:

      1. Go to Content > Forms
      2. Add a new Forms
      3. Add a Numeric field
      4. Add a translation (e.g. Portuguese)
      5. Change to your default language (e.g. English)
      6. You are now editing on your default language:
        1. Change the numeric type to Decimal
        2. Edit the field Predefined Value with a decimal number (e.g. 1.5)
        3. Change the numeric type to Integer
        4. Leave the sidebar open
        5. Change to your second language

       Expected result: The predefined value should be converted to an integer in all languages

       Actual result: The predefined value shown in the sidebar is in decimal type

        Attachments

          Activity

            People

            Assignee:
            cleyton.magalhaes Cleyton Magalhaes (Inactive)
            Reporter:
            carolina.barbosa Carolina Barbosa
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Carolina Barbosa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                7.4.13 DXP GA1
                Master