Skip entity_reference_choices widget

Created on 23 February 2024, 4 months ago

Problem/Motivation

Getting fatal error with field widget entity_reference_choices using module choices_autocomplete :

TypeError: Drupal\Core\Field\WidgetBase::getWidgetState(): Argument #1 ($parents) must be of type array, null given, called in /app/web/modules/contrib/multiple_fields_remove_button/multiple_fields_remove_button.module on line 383 in Drupal\Core\Field\WidgetBase::getWidgetState() (line 579 of /app/web/core/lib/Drupal/Core/Field/WidgetBase.php).

Also makes no sense adding multiple_fields_remove_button button on entity_reference_choices field.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇮🇳India Krishna Mishra

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

Comments & Activities

Production build 0.69.0 2024