incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-28947) Clear NumericStepper Value and get NaN in the display text area
Date Mon, 05 Nov 2012 19:52:14 GMT

     [ https://issues.apache.org/jira/browse/FLEX-28947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Harui updated FLEX-28947:
------------------------------

    Labels: EasyFix  (was: )
    
> 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
>
> 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

Mime
View raw message