PDA

View Full Version : [FIXED-192] Setting 'trackResetOnLoad' in FormPanel is not passed to BasicForm



michael.piecko
29 Jul 2010, 11:25 AM
Hi,

when using "trackResetOnLoad" in the Designer (xds-1.0.2.11) i noticed that after export this setting is present in the MyFormUi class, but it is not used when the BasicForm is internaly created.

So a check for this.getForm().trackResetOnLoad in MyForm's initComponent() method always shows "false".

Michael

jarrednicholls
29 Jul 2010, 7:30 PM
Thanks michael. This affects several of the configuration options of the FormPanel that are set internally to the BasicForm, as they should be placed on the initialConfig. I'll open a ticket to have this resolved for the next release. Thanks again for reporting this. In the meantime, you can put the setting directly on your instantiation of the FormPanel:



new MyForm({
trackResetOnLoad: true
});