Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15637] Add property to disable text selection on non-editable TextArea...

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsautolink, copy, disable, ios, paste, select, textarea
ReporterEd
AssigneeUnknown
Created2013-10-20T09:41:20.000+0000
Updated2018-12-17T22:03:23.000+0000

Description

It would be great to have the ability to disable text selection in a TextArea that is both non-editable and not enabled (i.e., functioning as a Label), so we can take advantage of autoLink (a feature not available on the Label control for iOS), yet not allow the user to copy text from it. This would be useful in a messaging system scenario (see image attachment), or when text with varying and mixed link types (emails, urls, phone #'s, dates, etc.) need to be displayed.

Attachments

FileDateSize
textarea_select.png2013-10-20T09:41:20.000+000071642

Comments

  1. Muhammad Sabir 2018-12-17

    Hello, I created an issue *AC-6071* that @Sharif AbuDarda resolved and asked me to comment on this ticket. Desription is, I've a requirement to disable copy and paste in textFields and textAreas in my application. But I came to know that Appcelerator does not provide this functionality. Moreover, I could not find a native module to do so. I believe, this is a very important and useful functionality in terms of security. Please have a look. Thank you.

JSON Source