Currently checkValueOnChange does the following:


Code:



checkValueOnChange: function() {
var me = this;

// <snip>
if (me.multiSelect) {
// <snip>
}
else {
if (me.forceSelection && !me.changingFilters && !me.findRecordByValue(me.value)) {
me.setValue(null);
}
}
},

However, the changingFilters flag is only set when doing a local query.

I've put in the following override and it seems to be having the desired effect:



Code:



checkValueOnChange: function() {
if (this.queryMode === 'local') {
this.callParent(arguments);
}
}

I suppose another option is to set the changingFilters flag, but can't see a suitable place to do it when remote really.

Thoughts?


Cheers,

Westy