Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1285] TSS conditional statement is ignored by items dynamically generated on runtime

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2015-09-30T22:06:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStyling
LabelsTCSupportTriage
ReporterFerry Mulyono
AssigneeFeon Sua Xin Miao
Created2014-12-27T00:37:13.000+0000
Updated2015-09-30T22:17:34.000+0000

Description

Below is the sample of the TSS condition statement: ".date[if=false]": { backgroundColor: "#f00" } This always gets executed, even if logically it shouldn't be. It happens to elements created on runtime by this code: label = $.UI.create('Label', { text: displayDate, classes: ['date']} );

Comments

  1. Feon Sua Xin Miao 2015-08-27

    PR: https://github.com/appcelerator/alloy/pull/718

JSON Source