Unable to change either the Target or Comparison elements

Created on 19 April 2024, 5 months ago
Updated 20 August 2024, about 1 month ago

Problem/Motivation

As reported by @alex.verhoeven (in #3371927-12: PluginNotFoundException: The "" plugin does not exist ), when adding or editing a Field State it is not possible to change either the Target or Comparison elements.

Steps to reproduce

  1. (Install the Field States UI module)
  2. Edit an entity's "Manage Form Display"
  3. Click on the cog on the right of any field
  4. Select a new field state from the drop-down
  5. Click Add
  6. Change either the "Target" or "Comparison Type" drop-down

Proposed resolution

Surround the "Add new field state" fieldset with <div class="ajax-new-content"></div> to prevent the whole form refreshing.

Remaining tasks

Create MR

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom jofitz

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