Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25419] iOS: AUTOLINK_ALL fails to create clickable links

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 6.3.0, Release 8.0.0
Fix Version/sn/a
Componentsn/a
LabelsengSchedule, ios, qe-6.3.0
ReporterEric Wieber
AssigneeUnknown
Created2017-10-20T21:52:17.000+0000
Updated2019-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();

Comments

No comments

JSON Source