Opened 12 years ago

Closed 12 years ago

#5259 closed defect (duplicate)

_Templated.buildRendering transforms 0 and false replacement param values to ""

Reported by: guest Owned by:
Priority: high Milestone: 1.0.2
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

[10979] added the following line to _Templated.buildRendering:

if(!value){ return ""; }

Which means that if a template references a widget property that is 0 or false, that property will effectively be ignored. Was this really meant to handle null values?

Associated forum post

Change History (1)

comment:1 Changed 12 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

see #5226

Note: See TracTickets for help on using tickets.