Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295813

Add a "Remove All" button to Media widget for removing all selected items

$
0
0

Problem/Motivation

When using a Media field in a content type and uploading multiple media items (e.g. images), users currently have to remove each item individually. This can be time-consuming and inefficient, especially when many media items are added. There is no built-in option to remove all selected media at once.

Steps to reproduce

1. Create a content type and add a Media field that allows multiple values.
2. Create or edit a piece of content of that type.
3. Add multiple media items (e.g. images) to the Media field.
4. Observe that each media item has an individual remove button.
5. Notice there is no option to remove all media items at once.

Proposed resolution

Introduce a "Remove all" button to the Media field widget UI. This button will allow users to remove all currently selected media items in one click, improving the user experience and efficiency when managing multiple media files.


Viewing all articles
Browse latest Browse all 295813

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>