-
2 Apr 2007 8:33 AM #1
Comobox submitts additional field
Comobox submitts additional field
I convert <selects>-s to Ext.comboboxes im my project.
Thince beta 1 I get an additional field with name "" submitted with the form.
There was one line added to the source in beta 1:
// prevent input submission
this.el.dom.name = '';
(Combo.js, Line 117)
At last in FF 2.0.0.3 this does NOT prevent submission!
As a result I have this empty-named field the server can't handle.
-
2 Apr 2007 10:05 AM #2
as a workaround you can try replacing that line with
try it and let us know if it works.Code:this.el.dom.removeAttribute('name');
-
2 Apr 2007 11:36 AM #3
Mystix, that is much better than my terrible solution!
-
2 Apr 2007 6:41 PM #4
awww shucks jack... u flatter me...

p.s. i'd like to suggest appending some sort of build number to the Ext download file so developers know they're getting a new SVN build. Otherwise, it's good old file-by-file winmerge for most of us
-
3 Apr 2007 1:02 PM #5
-
3 Apr 2007 5:09 PM #6
Yikes, WinMerge! You could always get SVN access and check out by tag and have it auto merge.

-
11 Apr 2007 9:14 AM #7
hi jack,
noticed in beta 2's ext-all-debug.js line 19926 thatis still there before removeAttribute('name') is called; is this intentional?Code:this.el.dom.name = '';
-
11 Apr 2007 11:33 PM #8
Sorta - it is a "just in case". I guess I could remove it.

-
11 Apr 2007 11:56 PM #9
just making sure.
always good to learn new stuff. just in case


Reply With Quote