Opened 7 years ago

Closed 7 years ago

#15168 closed defect (fixed)

SpinWheelSlot initialization fails when created programmatically

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2
Keywords: Cc: Hikaru Tamura, Eric Durocher, Adrian Vasiliu
Blocked By: Blocking:

Description

If you create a SpinWheelSlot programmatically as below

var slot1 = new SpinWheelSlot({
      labels:['A','B','C','D','E'],
      style:"text-align:center;width:40px;",
      value:'D'});

and add it to SpinWheel, the slot does not show the expected initial value 'D'.

Change History (2)

comment:1 Changed 7 years ago by ykami

Cc: Hikaru Tamura Eric Durocher Adrian Vasiliu added
Milestone: tbd1.8
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 7 years ago by ykami

Resolution: fixed
Status: assignedclosed

In [28323]:

Fixes #15168 Reset the slot value in addChild. It has to be done after the widget is started up. !strict

Note: See TracTickets for help on using tickets.