Opened 8 years ago

Closed 8 years ago

#12610 closed defect (fixed)

dojox.mobile.Switch can't be instantiated from the <input> tag

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

<input type="checkbox" name="swName" dojoType="dojox.mobile.Switch"> does not work at least on iPhone.

Change History (2)

comment:1 Changed 8 years ago by ykami

<input> had to be replaced with <div> internally at instantiation time, because Switch needs to have child dom nodes under the widget root node.

comment:2 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

Do not use this.srcNodeRef as a widget root node. Also, added a hidden input to return the value when used in <form>.

Note: See TracTickets for help on using tickets.