PDA

View Full Version : Destroy fieldset



AndreKR
18 May 2010, 5:54 PM
Hello,

when I call getComponent('a_fieldset').destroy() the corresponding fields are not removed from the BasicForm's items, so the code doing the validation breaks.

Am I supposed to remove them manually? How can I do this properly?

Regards,
André

Condor
19 May 2010, 3:22 AM
On which Ext version? Current versions should do this correctly!

AndreKR
19 May 2010, 7:19 AM
Ext 3.2.1.

Here's a test case:
http://kundenweb.creations.de/usenet/ext_layout/ext_sandbox4.htm
(Press Submit -> it works; Press Destroy + Submit -> error)