Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-130164 As a form creator, I want to create masks for my decimal numeric type fields
  3. LPS-136523

When using an number as prefix of the input mask on decimal the prefix is being saved with the input value

    Details

    • Type: Impedibug
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms

      Description

       Description

      When the user sets a numeric field to decimal and uses an input mask and the suffix has numbered the field get numbers when typing letters on the published form

       Steps to Reproduce

      1. Go to Content & Data > Forms 
      2. Add a Numeric Field
      3. Select the Numeric field and change it to Decimal
      4. Go to the Advanced tab
      5. Enable Input Mask
      6. Set the Thousands Separator
      7. Insert an mask -> 999
      8. Select as Prefix
      9. Publish the form
      10. Go to Published form
      11. Type a value
      12. Submit the form
      13. Go to view entries
      14. Observe

       Expected Result

      The prefix must not be saved together with the user filled value

       Actual Result

      The prefix is being saved together with the user filled value

       Evidence: prefixMaskIsBeingSavedAsValueInViewEntriesWhenUsingNumbers.mp4

        Reproduced In:
      master: dc93177a96e3d01f90f7b7b7ce9c5a4fc350656c

        Attachments

          Activity

            People

            Assignee:
            milton.castro Milton Castro
            Reporter:
            diogo.santos Diogo Santos
            Recent user:
            Milton Castro
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package