Ticket #259 (new enhancement)

Opened 3 months ago

Default behavior for updateOptions

Reported by: sravyts Assigned to: mpo
Priority: minor Milestone: 0.4
Component: modules/kauri-forms Version: trunk
Keywords: depends Cc:

Description

To allow using depends in other controls then the selection-control, a default implementation for updateOptions method in control.js is needed. The default implementation for this function will set the first value in the values array as the main value for the control.

Attached is the patch with my changes in the kauri-forms module. The changes were done after applying initEventWiring.diff contained in ticket 237, so this patch includes the changes by the initEventWiring.diff patch.

Attachments

updateOptions_default.patch (4.8 kB) - added by sravyts on 14/12/09 08:45:38.
patch with default implementation for the updateOptions function

Change History

14/12/09 08:45:38 changed by sravyts

  • attachment updateOptions_default.patch added.

patch with default implementation for the updateOptions function