PDA

View Full Version : function filterBy when changed form.ComboBox'value to ""



Tinky
25 Jun 2007, 7:39 PM
in Ext example "Form and ComboBox"--"Dynamic Forms"
in the third form "Fieldsets, labels right and complex fields"
when I first press key "\" in State, the Store.filterBy() alert "fn has no properties"
After I selected other Data and clear the Data or changed the Data to "", the alert is also jumped.

tryanDLS
26 Jun 2007, 11:35 AM
What version are you using? I don't see this behavior in 1.1beta on IE or FF.

Tinky
28 Jun 2007, 12:59 AM
i used the version of 1.1 Beta 1:-/
i test it in your web http://extjs.com/deploy/ext-1.1-beta1/examples/form/dynamic.html
i found that if you selected any options in the State ComboBox, and blanked the filed by "back space", that ill be OK.
but if you press any words not in the options, and blanked the filed by "back space", the alert is also jumped.
try that, if you can't see this behavior. :-?

the error in FF:
fn has no properties

mystix
28 Jun 2007, 3:04 AM
the current forms example does indeed throw the error in Firebug.
simply pressing backspace once when nothing is selected triggers the error.

this issue is fixed in SVN.