Field Widgets Settings Issues - schema and widget settings form

Created on 21 August 2025, 11 days ago

Problem/Motivation

There are a few issues with the field widgets provided by this module (languagefield_select, languagefield_autocomplete, languagefield_autocomplete_tags).

  • Schema definition is missing for languagefield_select and languagefield_autocomplete_tags
  • the settings provided for languagefield_autocomplete and languagefield_autocomplete_tags are not visible in the field widget settings UI
  • The autocomplete_route_name is provided via setting. Seems this is not a thing that should be changed via settings? So remove this from settings and insert directly in code.

This will result in warnings (with Drupal 11.2) like
Schema errors for core.entity_form_display. ... These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. ...

Steps to reproduce

Use the languagefield_autocomplete_tags widget for a language field (with Drupal 11.2) and save the form display. Note the warning that will appear after saving. Note that you cannot change the settings for "size" and "placeholder" via the UI.

Proposed resolution

  • Adding/changing schema definitions in languagefield.schema.yml
  • Adding options for configure "size" and "placeholder" for the autocomplete-Widgets.

Remaining tasks

User interface changes

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