Creation of new image fields not possible in new field UI in non-english UI

Created on 19 January 2024, about 1 year ago

Problem/Motivation

The new field creation UI does not allow to create new image fields (plain, non-reuseable image fields, NOT media entity images), when the interface language is not english and the field name is empty.

It works fine in english UI, but does not work in german admin UI.

Steps to reproduce

Does not work:

  1. Go to /de/admin/structure/types/manage/_BUNDLE_/fields/add-field
  2. Do NOT enter a field name
  3. Click on "File upload"
  4. The options "File" and "Image" does not appear below. ❌
  5. (Even adding a field name later on, the page is now in a broken state, the image/file option will never load.)

Works:

  1. Go to /de/admin/structure/types/manage/_BUNDLE_/fields/add-field
  2. Enter a field name FIRST
  3. THEN Click on "File upload"
  4. The options "File" and "Image" immedialtly appear below. ✓

Works:

  1. Go to /en/admin/structure/types/manage/_BUNDLE_/fields/add-field
  2. Click on "File upload"
  3. The options "File" and "Image" immedialtly appear below. ✓
  4. (No matter if or when you enter a field name, the image/file option will always load correctly in english)

Proposed resolution

List image fields after in the window/dropdown after selecting "References" > "Other" in field UI

🐛 Bug report
Status

Active

Version

10.2

Component
Field UI 

Last updated 8 days ago

Created by

🇦🇹Austria hudri Austria

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

Comments & Activities

Production build 0.71.5 2024