Add counter to fieldsets of files and images

Created on 9 February 2013, over 12 years ago
Updated 20 May 2025, 14 days ago

Problem/Motivation

File and Image fields are displayed inside a collapsed container when configured to be multi-value. That can be nice because it saves some space, but can also be confusing. There is a pronounced UX flaw when user uploads files using "Upload" button (AJAX). Files will be uploaded and displayed, but container will be collapsed. This is specially confusing when you have required alt/title or description fields, which can be easily overlooked when field is collapsed.

It could also be nice to indicate that there are files in field even when collapsed:

Proposed resolution

Widget expanded by default when there are files in it or at least stays expanded after upload.

Remaining tasks

None yet. Discussion is open.

User interface changes

None yet.

API changes

None are expected.

Original report by [username]

This issue was reported by tsvenson in #625958-92: Support Uploading Multiple Files for HTML5 Browsers via #multiple attribute .

Feature request
Status

Postponed: needs info

Version

11.0 🔥

Component

field system

Created by

🇸🇮Slovenia slashrsm

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

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 smustgrave

    Thank you for sharing your idea for improving Drupal.

    We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024