Control duplicated in dependent combos with ShtumiUsefulBundle in Symfony2

1

This is my section in the application config:

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 is my 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 the page, the dependence of the combos works perfectly, but it turns out that the city combo is duplicated, I really do not know how or why it is being duplicated, I enclose a screenshot:

    
asked by dest 03.02.2016 в 00:35
source

0 answers