Ticket #259 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Default behavior for updateOptions

Reported by: sravyts Owned by: freya
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 3 years ago.
patch with default implementation for the updateOptions function

Change History

Changed 3 years ago by sravyts

patch with default implementation for the updateOptions function

comment:1 Changed 3 years ago by freya

  • Owner changed from mpo to freya
  • Status changed from new to assigned

comment:2 Changed 3 years ago by freya

  • Status changed from assigned to closed
  • Resolution set to fixed

patch applied in r1590

Note: See TracTickets for help on using tickets.