Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2006 at 13:52 UTC
Updated:
8 Apr 2008 at 11:02 UTC
I've noticed a problem when you create a non-collapsible sub-fieldset within a collapsible one. The sub-fieldset remains collapsible as its parent. I've tried to reproduce an example of a buggy code:
$form['parent'] = array(
'#type' => 'fieldset',
'#title' => t('Parent'),
'#collapsed' => TRUE,
'#collapsible' => TRUE,
);
$form['parent']['child'] = array(
'#type' => 'fieldset',
//'#title' => t('Child'),
'#collapsible' => FALSE, // XXX: this does not work
'#collapsed' => FALSE,
'#description' => t('Child')
);
Comments
Comment #1
ricabrantes commentedany news about this?
Comment #2
LAsan commentedFixed in 5.x-dev.
Comment #3
ricabrantes commentedmoving to correct version..
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.