Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.8, 2.1.9
-
None
-
None
-
Normal
-
Patch available
Description
Rendering a multivaluefield using the 'double-listbox' styling fails, when that multivaluefield is contained in a repeater, and Ajax is enabled for the form:
The 'double-listbox'-styled fields in the repeater stop working as soon as some action, involving a round-trip to the server and a partial re-rendering of the repeater, is being performed (for example adding or deleting a repeater row, validation error on submit...)
After such a round-trip, a click on any of the double-listbox's UI elements (double-click on an item, click on an option-transfer button) will yield a Javascript error ("optxxxxx is not defined" on Cocoon 2.1.8, and "from.options has no properties" on the current BRANCH_2_1_X)
The multivaluefield's values will not be submitted correctly afterwards.
The 'double-listbox'-styled fields in the repeater stop working as soon as some action, involving a round-trip to the server and a partial re-rendering of the repeater, is being performed (for example adding or deleting a repeater row, validation error on submit...)
After such a round-trip, a click on any of the double-listbox's UI elements (double-click on an item, click on an option-transfer button) will yield a Javascript error ("optxxxxx is not defined" on Cocoon 2.1.8, and "from.options has no properties" on the current BRANCH_2_1_X)
The multivaluefield's values will not be submitted correctly afterwards.