[ https://issues.apache.org/jira/browse/FLEX-28947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-28947. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Fixed in develop branch from other changes. > Clear NumericStepper Value and get NaN in the display text area > --------------------------------------------------------------- > > Key: FLEX-28947 > URL: https://issues.apache.org/jira/browse/FLEX-28947 > Project: Apache Flex > Issue Type: Bug > Components: Spark: NumericStepper > Affects Versions: Adobe Flex SDK 4.5 (Release) > Environment: Affected OS(s): Windows > Affected OS(s): > Browser: Other (specify version) > Language Found: English > Reporter: Adobe JIRA > Labels: EasyFix, easytest > Fix For: Apache Flex 4.10.0 > > Attachments: Flex29847.air > > > Steps to reproduce: > 1. Create Spark NumericStepper > 2. Create Spark Button > 3. Backspace the value in NumericStepper > 4. Click Button > > Actual Results: > NaN is displayed in the NumericStepper > > Expected Results: > Value remains empty or the default value is set. > > > Workaround (if any): > Set the callback valueParseFunction to the following function: > private function > _numericStepperParse(value:String):Number > { > if (!value) { > return 0 > } > > return Number(value); > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira