-
10 May 2012 5:55 PM #621
epoks, could you, please, explain, how to use your "overwrite"?
Why do you say that it is PHP code, when in actuality it is JavaScript code, no? Or am I misunderstanding something?
Oh, yes, and does it at all work with Ext 3.4?
Thanks.
-
7 Feb 2013 6:40 AM #622
if you add
it works under all Ext.Versions up to 3.4.xPHP Code:,assertValue : Ext.emptyFn

Without that it would only work up to Ext 3.1.1Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
7 Feb 2013 10:33 AM #623
Thanks, wm003.
I ended up finding a working soluation and it has the following override:
assertValue:function() {
this.list.hide();
var rv = this.getRawValue();
var rva = rv.split(new RegExp(RegExp.escape(this.separator) + ' *'));
var va = [];
var snapshot = this.store.snapshot || this.store.data;
// iterate through raw values and records and check/uncheck items
Ext.each(rva, function(v) {
snapshot.each(function(r) {
if(v === r.get(this.displayField)) {
va.push(r.get(this.valueField));
}
}, this);
}, this);
this.setValue(va.join(this.separator));
this.store.clearFilter();
}
though, this is a slightly customized LovCombo...
-
10 Feb 2013 7:51 AM #624


Reply With Quote