Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25705

TiAPI: Add "enableCopy" property to TextField/TextArea

    Details

    • Story Points:
      5

      Description

      Summary:
      We should add a property to prevent the end-user from copying text from a Ti.Ui.TextField and Ti.UI.TextArea. The intention is to improve security and block accidental copying of personal information to the clipboard which can be accessed by external apps.

      Proposal:
      Add boolean property "enableCopy", which will default to true.

      The following must happen when setting this to false...

      • Context menu will not show: copy, cut, share
      • Command+C and Command+X shortcuts will be ignored.

      Note:
      On Android, we can't remove the "copy" and "cut" options from:

      • Virtual keyboard's "Text Editing" section.
      • Landscape fullscreen edit mode's context menu.

      That said, we can make the "copy" and "cut" options no-op in the above cases and block the copy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                topener Rene Pot
                Reviewer:
                Gary Mathews
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration