On Thu, Feb 21, 2013 at 2:37 PM, Malek S <male...@gmail.com> wrote:

> Hi,
> Is there any machanism in spark textinput where i can prevent cntrl+V
> (paste opertion ) when password filed is encountered
>
> here i am doing something
>
> *
>
> private
> *
>
> *function* handlePaste(event:TextOperationEvent) {
>
>  *if*(event.operation *is* PasteOperation) {
>
> *if*(event.currentTarget.displayAsPassword == *true*) {
>
> event.preventDefault();
>
> }
>
>  }
>
> }
>
>
>
> But this doesnt work
>
>
>
> any suggestions and ideas are most welcome.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to flex_india+unsubscr...@googlegroups.com.
To post to this group, send email to flex_india@googlegroups.com.
Visit this group at http://groups.google.com/group/flex_india?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to