Opened 8 years ago

Closed 8 years ago

#12604 closed defect (fixed)

RoundRectDataList ignores the label property in JSON data

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.0
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

Even if a label property that points to the label attribute is specified, labels are not shown in the RoundRectDataList widget. Below is an example data.

var static_data = {
  label: 'name',
  items: [ 
    {name: "Apple",   moveTo: "dummy"},
    {name: "Banana",   moveTo: "dummy"},
    {name: "Cherry",   moveTo: "dummy"},
    {name: "Grape",   moveTo: "dummy"},
    {name: "Kiwi",   moveTo: "dummy"},
    {name: "Lemon",   moveTo: "dummy"},
    {name: "Melon",   moveTo: "dummy"},
    {name: "Orange",   moveTo: "dummy"},
    {name: "Peach",   moveTo: "dummy"}
  ]
};

Change History (1)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [24200]) Fixes #12604 !strict. Use getLabel() if the label property is available.

Note: See TracTickets for help on using tickets.