FIX [duplicate][personpicker] use dynamic person picker to assign duplicate manually

This commit is contained in:
Julie Lenaerts 2023-07-12 11:17:25 +02:00
parent fcd4c3b92e
commit 0423540976
2 changed files with 12 additions and 4 deletions

View File

@ -11,7 +11,7 @@ declare(strict_types=1);
namespace Chill\PersonBundle\Form; namespace Chill\PersonBundle\Form;
use Chill\PersonBundle\Form\Type\PickPersonType; use Chill\PersonBundle\Form\Type\PickPersonDynamicType;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\HiddenType; use Symfony\Component\Form\Extension\Core\Type\HiddenType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
@ -21,7 +21,7 @@ class PersonFindManuallyDuplicateType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options) public function buildForm(FormBuilderInterface $builder, array $options)
{ {
$builder $builder
->add('person', PickPersonType::class, [ ->add('person', PickPersonDynamicType::class, [
'label' => 'Find duplicate', 'label' => 'Find duplicate',
'mapped' => false, 'mapped' => false,
]) ])

View File

@ -29,3 +29,11 @@
</div> </div>
{% endblock %} {% endblock %}
{% block js %}
{{ encore_entry_script_tags('mod_pickentity_type') }}
{% endblock %}
{% block css %}
{{ encore_entry_link_tags('mod_pickentity_type') }}
{% endblock %}