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-136519

Letters on keyboard are inputting wrong values when using an input mask with a suffix in a decimal number field

    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 a number the field generates 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 Suffix
      9. Publish the form
      10. Go to Published form
      11. Type any letter 
      12. Observe

       Expected Result

      Typing letters must not work on numeric field

       Actual Result

      Typing letters is filling the numeric field

       Evidence: errorWhenTypingLettersOnNumericWithInputMaskAndSuffix.mp4

        Reproduced In:
      master: dc93177a96e3d01f90f7b7b7ce9c5a4fc350656c

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package