Hide "Remove" button if cardinality 1 (required) and only one allowed Paragraph type

Created on 27 October 2017, over 7 years ago
Updated 9 April 2025, 15 days ago

The "Remove" button should be removed from forms if "Required field" is true and the "Allowed number of values" field of the Entity Reference Revision (or some of fields of the referenced entity) is configured as "Limited" to 1... It does make sense to display this button if the paragraph type should always exists.

Also, it should be interesting to have an option in the of the "Manage form display" to always hide control buttons.

✨ Feature request
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ͺπŸ‡ΈSpain @baux

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.

  • πŸ‡ΊπŸ‡ΈUnited States TheLoneliestMonk

    Should this issue be reopened since what was committed in #28 and #35 did not solve the issues for everyone's use as evidenced by the patch creation and improvement in #41?

Production build 0.71.5 2024