Support the 'add_existing_widget' setting from #2683125

Created on 9 January 2024, 6 months ago

Problem/Motivation

The way this module extends the IEF complex widget is a little fragile. πŸ˜… I found that if I add the feature at ✨ Allow select widget for "Add existing items" Needs work , this widget starts to fail and needs a little bit of code updated to keep working.

Steps to reproduce

  1. Setup a 10.2.x core test site with IEF and ief_complex_open.
  2. Apply the latest patch from ✨ Allow select widget for "Add existing items" Needs work to IEF.
  3. Add an entity reference field to a node type, and try to configure the widget to use ief_complex_open + a select widget for add_existing_widget.
  4. Try to use the form. Experience WSOD.

Proposed resolution

  1. Add code to keep working as IEF changes.
  2. Consider if we should be more careful in IEF about "BC" for modules like this that are extending the widget class (but not defining their own schema, etc).

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dww

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024