Ticket #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 |
| Severity: | critical | Keywords: | |
| Cc: |
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?
Change History
Note: See
TracTickets for help on using
tickets.