Bug #69593
closed
Left multi select field loses selected items
Added by Georg Ringer almost 9 years ago.
Updated almost 7 years ago.
Category:
Backend User Interface
Sprint Focus:
Stabilization Sprint
Description
Given is a multi select field, e.g. usergroups in fe_users
and multiple records are assigned to the record
and an editor selects at least 2 items in the left select box
and moves the cursor,
no item is selected anymore.
in 6.2 an editor could select multiple records and move and remove those.
affected browsers: at least FF and chrome
- Description updated (diff)
- Sprint Focus set to Stabilization Sprint
The problem is located in FormEngineValidation.js at line 52:
// Initialize input fields
FormEngineValidation.initializeInputFields().promise().done(function () {
// Bind to field changes
$(document).on('change', FormEngineValidation.rulesSelector, function() {
// we need to wait, because the update of the select fields needs some time
window.setTimeout(function() {
FormEngineValidation.validate();
}, 500);
var $paletteField = $(this).closest('.t3js-formengine-palette-field');
$paletteField.addClass('has-change');
});
The setTiemout call calls the validate method which result in "de-select" the selected entries.
Confirmed, if $field.val(newValue);
is commented out, the selection stays intact.
- Status changed from Accepted to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF