Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34054

Formatting applied to NumericStepper when using increment/decrement arrows

    XMLWordPrintableJSON

Details

    Description

      When a user uses the increment and decrement button on the spark numeric stepper formatting is now being applied to the value that is being displayed. This is new behavior since 4.9.1

      Steps to Reproduce

      1.) Open and run the attached project
      2.) In the top most numericstepper, click on the increment button.

      Result

      The string is formatted (for US it's 1,001)

      Expected Result

      The string is not formatted

      Workaround

      In the provided project I've included a workaround. Users can set a valueFormatFunction to enforce whatever format they'd like.

      Extra Notes

      I've included images of the varying formatting between 4.9.1, 4.10.0, and 4.11.0. It would seem that there have been fixes regarding formatting that maybe cause this one to creep up. Will attach the necessary files shortly

      Attachments

        1. NumericStepper Flex4_10_0.png
          1 kB
          Chris Martin
        2. NumericStepper Flex4_11_0.png
          1 kB
          Chris Martin
        3. NumericStepper Flex4_9_1.png
          1 kB
          Chris Martin
        4. NumericStepperFormatting.zip
          1.20 MB
          Chris Martin

        Activity

          People

            jmclean Justin Mclean
            chrsmrtn Chris Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: