[
https://issues.apache.org/jira/browse/FLEX-28921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-28921:
---------------------------------
Labels: easyfix (was: )
> SkinnableTextBase maxChars should be bindable.
> ----------------------------------------------
>
> Key: FLEX-28921
> URL: https://issues.apache.org/jira/browse/FLEX-28921
> Project: Apache Flex
> Issue Type: Improvement
> Components: Spark: TextArea
> Affects Versions: Adobe Flex SDK Previous
> Environment: Language Found: English
> Reporter: Adobe JIRA
> Labels: easyfix
>
> The property maxChars on SkinnableTextBase should be bindable. I assume that
> many properties on SkinnableTextBase aren't bindable for performance reasons.
> However, it seems to me that maxChars is a property that doesn't change very
> often when it is used. For this reason, I don't see any implications to
> making it bindable.
> In fact, it would be useful. For instance, to create a counter for how many
> characters are left in a TextInput or a TextArea:
> <s:TextArea id="textArea" maxChars="500/>
> <s:Label text="{textArea.maxChars - textArea.text.length} characters left"/>
> That use-case currently results in a compiler warning because maxChars isn't
> bindable.
--
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