Opened 5 years ago

Closed 4 years ago

#18356 closed defect (patchwelcome)

dojox.form.Manager setFormValues() not work

Reported by: vtsuper Owned by: dylan
Priority: undecided Milestone: 1.13
Component: DojoX Form Version: 1.10.2
Keywords: Cc:
Blocked By: Blocking:

Description

hi all,according to this manual, I suppose setFormValues() will trigger the observer function in widget. And I can control it by dojox.form.manager.watch (should be change to watching already) http://dojotoolkit.org/reference-guide/1.10/dojox/form/manager/_Mixin.html#watch

here are my sample: http://jsfiddle.net/vtsuper/oqLcz0kf/14/ lets do the following test, first of all, pls click the radio button and input something in textbox, you will see the observer function was triggered and logged in the div

but if I click the setFormValues button, then no observer was trigger even the watching value is always true. so why the setFormValues() won't trigger the observer????

Change History (3)

comment:1 Changed 5 years ago by dojonovice@…

watch property doesn't work and overrides watch method. _Mixin has watching property but no effect.

http://dojotoolkit.org/reference-guide/1.10/dojox/form/manager/_Mixin.html#id5

please fix it.

Last edited 5 years ago by dojonovice@… (previous) (diff)

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12
Owner: set to dylan
Status: newassigned

comment:3 Changed 4 years ago by dylan

Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.