PDA

View Full Version : Combo Bug (1.1b)



evant
6 Jun 2007, 7:28 PM
See: http://www.bosweb.com.au/evan/test.html

To reproduce, clear all text in the combo box.

The following error is thrown, fn has no properties.


filterBy : function(fn, scope){
var r = new Ext.util.MixedCollection();
r.getKey = this.getKey;
var k = this.keys, it = this.items;
for(var i = 0, len = it.length; i < len; i++){
if(fn.call(scope||this, it[i], k[i])){
r.add(k[i], it[i]);
}



I'm assuming it has something to do with it being local mode. I'd expect the default behaviour to be that if an invalid value is inputted and the box loses focus, the box should revert to the previous value.

jack.slocum
6 Jun 2007, 10:57 PM
Thank you. This has been corrected.