Ticket #259 (closed enhancement: fixed)
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
Change History
Changed 3 years ago by sravyts
- Attachment updateOptions_default.patch added
Note: See
TracTickets for help on using
tickets.
patch with default implementation for the updateOptions function