Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27871] Android: Setting TextField/TextArea "editable" to false should allow user to copy text to clipboard

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2020-08-11T14:52:12.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
ComponentsAndroid
LabelsTextArea, TextField, android, clipboard, copy, editable, parity, read-only
ReporterJoshua Quick
AssigneeJoshua Quick
Created2020-04-28T01:19:28.000+0000
Updated2020-08-11T14:52:12.000+0000

Description

*Summary:* When setting a TextField/TextArea object's "editable" property to false, the end-user should be able to select the text and copy it to the clipboard. Allowing this is typically the main purpose of making a field read-only. If the app developer doesn't want the text to be selectable, then disabling it via the "enabled" property would be better. *Note:* On iOS, we currently support copying text from a read-only TextArea. Unfortunately, iOS' TextField does not support this. (It should though.)

Comments

  1. Joshua Quick 2020-04-28

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11662
  2. Samir Mohammed 2020-07-13

    FR Passed, Waiting on Jenkins build.
  3. Christopher Williams 2020-07-14

    merged to master for 9.1.0 target
  4. Samir Mohammed 2020-08-11

    *Closing ticket*. Improvement verified in SDK version 9.1.0.v20200810120239. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11662

JSON Source