selected-xxx classes not removed on select updates

Created on 16 September 2023, over 1 year ago

Problem/Motivation

In , a coding standards change introduced a bug where selected-... classes from select elements were not correctly removed from the form element.

Steps to reproduce

  1. Configure a content type with a term entityreference field with "standard" and "extended" terms, defaulting to "standard"
  2. Visit node create form, note that form has class selected-standard
  3. Select "extended"
  4. Note that class selected-extended has been applied to the form
  5. Bug: Note that class selected-standard has not been removed from the form

Proposed resolution

  1. Add test coverage to verify expected behaviour (pipeline failing)
  2. Revert or fix the coding standards change

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

2.0

Component

User interface

Created by

๐Ÿ‡ณ๐Ÿ‡ฟNew Zealand xurizaemon ลŒtepoti, Aotearoa ๐Ÿ

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

Comments & Activities

Production build 0.71.5 2024