Widget settings to control removing & deleting existing references

Created on 4 May 2017, over 7 years ago
Updated 20 March 2023, over 1 year ago

The module relies on the allow_existing setting to allow or disallow the user to remove previously created references, so you can either Add existing & Remove, or do neither of those actions.
The attached patch creates a new separate widget setting for that, so all combinations are configurable.

This is especially handy for multilingual sites: when you translate a node, the entity references are repopulated with the original language values. You may want your user to remove them and add new ones, without necessarily allowing to add existing nodes.

See screenshots:

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France renaudcuny

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India arunkumark Coimbatore

    Tested patch with Drupal core 10.0.2 version with IEF. The patch was applied successfully and the issue is fixed as expected.

    After patch applies:

    ++RTBC

  • 🇩🇪Germany geek-merlin Freiburg, Germany

    Please everyone: Bring in more order than chaos!
    If a patch is improved, explain what you do and why.
    If a patch does not apply in the first place, question if it made sense in the first place, instead of continuing the lore.
    Adjusted credits.

    So it looks like the chaos started in #107, and we have #104, which is identical to #119 and !60.
    @joevagyok, is this correct?

    Also @joevagyok you say this is in production, i suppose in the EU context, correct?

    We have some test coverage that i did not scrutinize, but looks well done.
    Fed !60 to the testbot.

  • Status changed to Fixed over 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024