Fatal error when configuring entity browser with 'Automatically submit selection'

Created on 1 November 2024, about 2 months ago

I have an entity browser using 'No selection display' for the 'Selection display plugin' and have checked the 'Automatically submit selection' field on the entity browser's View widget and also have 'Enhanced multiselect' selected for the enhancer.

I'm getting this fatal error when trying to use the field with the 'Entity browser' widget.

The website encountered an unexpected error. Try again later.

Drupal\Core\Config\ConfigException: Used entity browser selection display cannot work in combination with settings defined for used selection widget. in Drupal\entity_browser\Form\EntityBrowserForm->isFunctionalForm() (line 216 of modules/contrib/entity_browser/src/Form/EntityBrowserForm.php).

Drupal\entity_browser\Form\EntityBrowserForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('entity_browser_analytic_browser_form', Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)

I can get past the fatal error by using a 'Multi step selection display' but I'm not liking the UX for that on first look.

Any suggestions/guidance on how to proceed properly configuring the entity browser?

The view display is just a simple 2 field content view a table display format. I tried switching to grid display format based on my skimming of the issue queue but no luck, same error.

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024