Language select list widget - setting has no effect

Created on 21 August 2025, 11 days ago

Problem/Motivation

The setting "Display in widget" for "Language select list" widget (languagefield_select) does not have any effect currently.

The code seems to be copied to some extent just from the field formatter. But field widget is working differently.

I suppose for field widget the "Display in widget" settings should define what to show as label of the option in the select field in form mode. The value of the option should stay on the langcode.

Steps to reproduce

Try different settings for "Display in widget" like ISO, native name and combinations thereof with name. Note that the output in field widget is always the "name" of the language, not considering ISO or native name.

Proposed resolution

Add some code to output the option label based on the setting for "Display in widget"

Remaining tasks

User interface changes

option label of field widget shows naming as defined in widget settings.

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024