4 Oct 2007 8:08 PM #1
[2.0a1][SOLVED] SearchField.js flaw
I was using the searchfield plugin and found a flaw that I think should be changed.
Problem: Store is called before the value is cleared out.
I was doing a store / beforeload and was doing a searchField.getValue() and was still getting the value but based on the below snippt.
L25: this.el.dom.value = '';
If you flipflop the 2 statements to below the problem does not occur as it should:
L24: this.el.dom.value = '';
I did not know where else to put this so if you don't consider this a bug.
Opportunity is missed by most people because it is dressed in overalls and looks like work - Thomas Edison
5 Oct 2007 2:20 AM #2
Changed, thanks.Jack Slocum
Sencha Co-Founder, Ext JS Founder
Original author of Ext JS 1, 2 & 3.