Image widget description does not updated with allowed file extensions when using unlimited cardinality

Created on 28 January 2022, almost 3 years ago
Updated 16 January 2025, 5 days ago

Problem/Motivation

Image widget description does not updated with allowed file extensions when field has unlimited cardinality.

Steps to reproduce

Create a new image field with unlimited cardinality, add "svg" to allowed extensions. Check if the field description is updated on form page.

Proposed resolution

When unlimited cardinality is used the description needs to be updated in:
$element['#file_upload_description']

Remaining tasks

Make a patch.

User interface changes

No.

API changes

No.

Data model changes

No.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇭🇺Hungary tamaspresing

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.

Production build 0.71.5 2024