Default value widget is not updated on field config change

Created on 31 August 2023, over 1 year ago
Updated 1 December 2023, about 1 year ago

Problem/Motivation

The default value widget in Field UI may depend on the field config that is being set on the same form. Regardless of this, the default value widget is not updated when these settings change. This leads to a confusing experience. For example, if you change the allowed bundles for an entity reference field, the default value widget still allows you to reference entities based on what was allowed on the saved field config, not what has been selected on the form.

Steps to reproduce

  1. Install Umami
  2. Create a new taxonomy term reference field
  3. Select "Tags" as the allowed vocabulary
  4. Set a default value and search for "Accompaniments" which is actually a "Recipe Category" and see that its still displayed
  5. Save, and see there's a form validation error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
Field UI 

Last updated 8 days ago

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Field UX

    Usability improvements related to the Field UI

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024