PDA

View Full Version : [FIXED-EXTJSIV-1839][4.0.0] Regression - collapsed Fieldsets



elasticsystems
27 Apr 2011, 5:45 AM
Hi,

We have some fieldsets that are collapsed by default. I upgraded to 4.0.0 today, and now these fieldsets no longer render their child components when you expand them.

If I comment out the "defaults: { collapsed: true }" part of the parent Panel config, the elements render perfectly, which seems to confirm that it's definitely a problem with the fieldsets being collapsed by default.

Thanks,
Richard

jjohnston
3 May 2011, 7:27 AM
Can you provide a test case for this? We do have a few examples in the 4.0.0 distro containing fieldsets collapsed by default, and they render their items just fine. For example:

http://dev.sencha.com/deploy/ext-4.0.0/examples/form/check-radio.html
http://dev.sencha.com/deploy/ext-4.0.0/examples/form/dynamic.html

jjohnston
3 May 2011, 9:16 AM
I think I found it: the rendering works fine when the fieldset is within a container with a layout that performs sizing, e.g. layout:'anchor'. This is the default layout for FormPanel so it works fine in all our examples. It doesn't work when inside an auto container layout. Will investigate.

jjohnston
3 May 2011, 9:56 AM
Found the bug and fixed. Thanks for reporting this.