Using Easyadmin v2.3.4 and EasyAdminExtensionBundle v3.0.0
I'm getting a duplicate field when setting attr: { create: true } in a easyadmin_autocomplete field.

The first one allows to create new entries for the entity, while the second doesn't (but it does not create the entry in the end). Selecting an existing option in the first input sets the choice for that field, while doing it in the second one shows the option in both.

The easy_admin.yaml for this field is
- { property: 'context.person', label: 'Persona', type: 'easyadmin_autocomplete', type_options: { class: 'App\Entity\Facts\Person', attr: { create: true } } }
Also, I'm getting this errors in the console:
The select2('close') method was called on an element that is not using Select2.
Uncaught TypeError: Cannot read property 'close' of undefined
Any hints would be appreciated :)
Using Easyadmin v2.3.4 and EasyAdminExtensionBundle v3.0.0
I'm getting a duplicate field when setting
attr: { create: true }in aeasyadmin_autocompletefield.The first one allows to create new entries for the entity, while the second doesn't (but it does not create the entry in the end). Selecting an existing option in the first input sets the choice for that field, while doing it in the second one shows the option in both.
The
easy_admin.yamlfor this field is- { property: 'context.person', label: 'Persona', type: 'easyadmin_autocomplete', type_options: { class: 'App\Entity\Facts\Person', attr: { create: true } } }Also, I'm getting this errors in the console:
The select2('close') method was called on an element that is not using Select2.Uncaught TypeError: Cannot read property 'close' of undefinedAny hints would be appreciated :)