symfony - Duplicate control using ShtumiUsefulBundle Symfony2 -
i'm using shtumiusefulbundle. config section in application:
shtumi_useful : dependent_filtered_entities: ciudad_by_dpto: class: gestionbundle:ciudad parent_property: dpto property: nombreciud role: is_authenticated_anonymously no_result_msg: 'no hay regiones encontradas' order_property: nombreciud order_direction: asc
this configureformfields
$formmapper ->add('nombre') ->add('email') ->add('urlcurriculum') ->add('cargo') ->add('departamento') ->add('ciudad', 'shtumi_dependent_filtered_entity', array( 'entity_alias' => 'ciudad_by_dpto', 'empty_value' => 'select', 'parent_field' => 'departamento', 'required' => true, )) ;
when loading page works perfect dependence on combos turns out city combo doubled, truth not how or why doubling, attached screenshot
Comments
Post a Comment