webui: stop multi select combo selecting the wrong thing
this was because it reverted to using the display string and doing a reverse mapping. Which is clearly the wrong way to do things when you can have multiple display fields for the same key value.
This commit is contained in:
parent
d160e7425a
commit
febd529cf7
1 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,7 @@ Ext.ux.form.LovCombo = Ext.extend(Ext.form.ComboBox, {
|
|||
*/
|
||||
,onRealBlur:function() {
|
||||
this.list.hide();
|
||||
/*
|
||||
var rv = this.getRawValue();
|
||||
var rva = rv.split(this.separator);//new RegExp(RegExp.escape(this.separator) + '+'));
|
||||
var va = [];
|
||||
|
@ -190,6 +191,8 @@ Ext.ux.form.LovCombo = Ext.extend(Ext.form.ComboBox, {
|
|||
}, this);
|
||||
}, this);
|
||||
this.setValue(va.join(this.separator));
|
||||
*/
|
||||
this.setValue(this.value);
|
||||
this.store.clearFilter();
|
||||
} // eo function onRealBlur
|
||||
// }}}
|
||||
|
|
Loading…
Add table
Reference in a new issue