Fix field widget settings form to update after handle change

Created on 8 June 2023, about 1 year ago

Problem/Motivation

Although the module is functional, it would be nice to figure out the form state issue when changing a handler so that the form can be saved once instead of having to go back into it. This is most-likely due to some incompatibilities with the form process, ajax etc... from code borrowed from Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem

Steps to reproduce

1. Edit the the field widget settings
2. Change the Reference handler from Default to Views
3. The Handler settings form does not update.

Proposed resolution

To be determined.

Remaining tasks

1. Write a Functional test (as this occurs whether JavaScript is enabled or not).
2. Figure out the complexities behind Entity Form Display and Entity Reference Handler Settings plugins, and fix the issue.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mradcliffe USA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024