Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
NumericStepper lets you format the text displayed in the TextInput - coupled with this format function is a parse function that lets you pull out the numerical value of whatever is displayed in the TextInput (which may not be a numeric value like 3, but instead a string like '3 pixels').
Currently, if the parse of the TextInput's text fails, we don't handle that as well as we could - the user would have to detect this (we basically require the user's parse method to be correct and handle all of what can be inputted into the TI). We could expose a hook where if the parsing fails, the value committing could be part of the general validation mechanism.
This is out of scope for 4.0, but a nice thing to add in a later release.