Missing include EntityAutocomplete

Created on 3 April 2024, 8 months ago

Problem/Motivation

When adding an existing entity with the advanced form and the autocomplet, we get an error:
Error: Class "Drupal\inline_entity_form\Plugin\Field\FieldWidget\EntityAutocomplete" not found in Drupal\inline_entity_form\Plugin\Field\FieldWidget\InlineEntityFormComplex->extractFormValues() (line 779 of modules/contrib/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormComplex.php).

Steps to reproduce

Add an existing entity with the advanced form

Proposed resolution

Add
use Drupal\Core\Entity\Element\EntityAutocomplete;

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

🇳🇱Netherlands joshahubbers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024