Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23388] Windows: autoLink URLs support for Ti.UI.Label

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-02-15T10:33:31.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2016-05-17T07:57:22.000+0000
Updated2017-03-16T22:00:22.000+0000

Description

autoLink with URLs for Ti.UI.Label is not implemented on Windows. See https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Label-property-autoLink for details.
var win = Ti.UI.createWindow({ backgroundColor: 'green'});

var label1 = Ti.UI.createLabel({
    text: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. http://www.appcelerator.com/ Ut enim ad tel:0123456789 minim veniam, quis nostrud mailto:foo@example.com exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.',
    autoLink: Titanium.UI.AUTOLINK_URLS,
    backgroundColor: 'white',
    width: Ti.UI.FILL, height: Ti.UI.SIZE
});

win.add(label1);
win.open();
Expected: Words with http://, tel: and mailto: scheme should have hyperlinks.

Comments

  1. Kota Iguchi 2017-02-14

    https://github.com/appcelerator/titanium_mobile_windows/pull/952
  2. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source