[
https://issues.apache.org/jira/browse/FLEX-35241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15820349#comment-15820349
]
Devsena commented on FLEX-35241:
--------------------------------
I've updated the new bead with more proper approach to it's HTML output. Beside
restricting any input by keypress to TextInput component, it's now also
managing the texts pasted from clipboard. The HTML output now removes the
restricted characters from being pasted and avail only the un-restricted
characters.
As an example, if an input only targeted to accept lower case characters and
now special case including space; a clipboard paste of following characters:
{{Pink Floyd}}
will be displayed as (after pasted):
{{inkloyd}}
> [FlexJS] Input restrictions to TextInput component
> --------------------------------------------------
>
> Key: FLEX-35241
> URL: https://issues.apache.org/jira/browse/FLEX-35241
> Project: Apache Flex
> Issue Type: New Feature
> Affects Versions: Apache FlexJS 0.8.0
> Reporter: Devsena
> Attachments: PNRestrictInputBead.as
>
>
> Present _TextInput_ component do not have an in-built way to restrict text
> inputs.
> We need a feature developed for _TextInput_ component where we can restrict
> text inputs as we can do so in Flex SDK.
> (Note: The existing _NumericOnlyTextInputBead_ is broken in HTML run)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)