Closed
Description
Several times, I need to do tiny changes in the embedded forms in order to get a better look, but I don't would like to change it permanently. For instance, I have a form that have a embedded address form. In this case, I would like to remove the address label just in this context, because I need this in some others forms.
I think that an option to set options in the embedded forms would be very nice, allowing perform some changes according with the context that it is embedded.
An example how this might look:
$builder->add('address', 'address', array(
'children' => array(
'street' => array(
'label' => false
),
'country' => array(
'attr' => array('class' => 'nice');
)
)
);
If you find it useful, I can work on that.
Thanks!