Titanium JIRA Archive
Alloy (ALOY)

[ALOY-725] autoLink values show as error in TSS files

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2013-07-08T14:37:12.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterTim Poulsen
AssigneeTony Lukasavage
Created2013-06-26T19:23:44.000+0000
Updated2014-06-22T13:23:12.000+0000

Description

In the TSS, the following is flagged as an error, even though it's a valid property value for a text field.
'#someTextField':{
  autoLink: AUTOLINK_ALL
}
The following clears the error, but is in fact an error and causes a force-close on the app (on Android):
'#someTextField':{
  autoLink: 'AUTOLINK_ALL'
}

Comments

  1. Tony Lukasavage 2013-07-08

    [~skypanther] shouldn't it be Ti.UI.AUTOLINK_ALL, not just AUTOLINK_ALL?
  2. Tim Poulsen 2013-07-08

    *facepalm* yep, they're supposed to be constants -- Ti.UI.Android.LINKIFY_ALL

JSON Source