JS error prevent access to form widget settings

Created on 15 March 2023, about 2 years ago
Updated 30 March 2023, about 2 years ago

Problem/Motivation

When I set a form display field to use the Entity Browser - Table widget and click the configuration icon nothing happens and I get an AJAX error in the JS console: Warning: foreach() argument must be of type array|object, null given in /app/docroot/core/lib/Drupal/Core/Render/Element/Checkboxes.php on line 113

Environment is:

  • Drupal 9.5.4
  • Entity Browser 8.x-2.9
  • Entity Browser - Table Layout 8.x-1.4
  • Gin Admin Theme 8.x-3.0-rc2

Steps to reproduce

I haven't tested this is any other environments yet but using the environment described above:

  1. Create a content type with an entity reference.
  2. Edit the content type form display.
  3. Set the widget for the entity reference field to "Entity Browser - Table".
  4. Click the settings icon for the field.
  5. Observe the settings do not appear and there is an AJAX error in the JavaScript console.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wells Seattle, WA

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

Comments & Activities

Production build 0.71.5 2024