[TIMOB-25419] iOS: AUTOLINK_ALL fails to create clickable links
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 6.3.0, Release 8.0.0 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | engSchedule, ios, qe-6.3.0 |
| Reporter | Eric Wieber |
| Assignee | Unknown |
| Created | 2017-10-20T21:52:17.000+0000 |
| Updated | 2019-04-23T15:33:54.000+0000 |
Description
Setting the autoLink property to Ti.UI.AUTOLINK_ALL will not make the appropriate text into clickable links. Tested on TextAreas and TextFields.
*Steps to reproduce issue*
1. Create a new project with the below code in app.js
2. Run the app
3. Attempt to click on the text
*Expected Results*
The appropriate text (email, phone number, address, URL) are clickable links and open the corresponding apps on the device when clicked
*Actual Results*
No clickable links are present in the text
*Code*
var win = Ti.UI.createWindow();
var ta = Ti.UI.createTextArea({
editable: false,
value: "Contact\n\n test@test.com\n\n 817-555-5555\n\n http://bit.ly\n\n 444 Castro Street, Mountain View, CA",
autoLink: Ti.UI.AUTOLINK_ALL
});
win.add(ta);
win.open();
No comments