Empty field message is not hidden when FE is switched off

Created on 15 August 2025, 10 days ago

Problem/Motivation

In case the entity reference (revisions) field is empty, frontend editing adds the link to it in order to be able to add new referenced items directly from frontend editing. But this link doesn't disappear when frontend editing is switched off.

Steps to reproduce

  1. Install module.
  2. Create a content type with entity reference (revisions) field.
  3. Allow frontend editing on this entity reference (revisions) field.
  4. Allow adding new items in the formatter for this field.
  5. Create new content item, but do not provide any value for this field.
  6. Observe that field renders with a frontend editing action link 'No items found for field "", click to add one.'
  7. Toggle frontend editing functionality with "On/Off" button.
  8. Observe that the link is not hidden when frontend editing functionality is hidden.
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024