[
https://issues.apache.org/jira/browse/FLEX-35139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643402#comment-15643402
]
Giuseppe Rusciano commented on FLEX-35139:
------------------------------------------
If you go this: http://flex.apache.org/tourdeflex/ choose:
MX Framework Components -> Visual Components -> General Controls ->
NumericStepper
and past 0.4 in the first and in the second NumericStepper it correclty show
0.4 (and when you press TAB it cut the decimal value becuase wants only integer)
> mx:NumericStepper copy paste issue
> ----------------------------------
>
> Key: FLEX-35139
> URL: https://issues.apache.org/jira/browse/FLEX-35139
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: NumericStepper
> Affects Versions: Apache Flex 4.15.0
> Environment: Project AIR 20.0 under Windows platform
> Reporter: Giuseppe Rusciano
> Labels: easytest
>
> I have two mx:NumericStepper in my project. I try to copy and past a value as
> 0.4 from the first numeric stepper into the second.
> Graphically, before focus out fix all, I have this behaviour, in the second
> numeric stepper I have 00.40.4
> Steps to Reproduce:
> I've created this AIR project:
> <?xml version="1.0" encoding="utf-8"?>
> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx">
> <mx:HBox width="100%">
> <mx:NumericStepper id="myNS1" stepSize=".01" width="100"/>
> <mx:NumericStepper id="myNS2" stepSize=".01" width="100"/>
> </mx:HBox>
> </s:WindowedApplication>
> When the project starts:
> 1. I'm writing in the first numeric stepper the value 0.4
> 2. I'm pressing CTRL+A to select all and CTRL + C to copy the value 0.4
> 3. I'm focusing on the second numeric stepper and I'm pressing CTRL + V to
> paste the value at step 2.
> 4. The graphical output is 00.40.4
> 5. If I'm focusing out from the second numeric stepper, the result becomes
> 0.4 (correctly)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)