Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12829 closed defect (fixed)

dojox.mobile.TextBox is not notifying onChange

Reported by: Ed Chatelain Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Dijit - Form Version: 1.6.0
Keywords: Cc: Dustin Machi
Blocked By: Blocking:

Description

Doug Hays has looked into this problem, the fix requires _FormValueMixin to be split out from _FormWidgetMixin, and a change to dojox.mobile.TextBox? to use _FormValueWidget instead of _FormWidgetMixin. To see the problem check for onChange on a dojox.mobile.TextBox? like this:

<input id="input2" data-dojo-type="dojox.mobile.TextBox?" data-dojo-props='onChange:function(val){ alert("Hello dijit.form.textbox - " + val); }'></input>

I will attach a patch for the change to dojox.mobile.Textbox (IBM CCLA)

Attachments (1)

dojox.mobile.TextBox.patch (721 bytes) - added by Ed Chatelain 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Ed Chatelain

Attachment: dojox.mobile.TextBox.patch added

comment:1 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [24596]) Fixes #12829. Split _FormValueMixin out from _FormWidgetMixin.js for baseless AMD to work correctly with dojox/mobile.

comment:2 Changed 9 years ago by bill

(In [24772]) don't use variables in dojo.declare() dependency list as it breaks the API doc parser, refs #12829 !strict

Note: See TracTickets for help on using tickets.