Client-side-validation broken with Chosen

Created on 18 December 2023, over 1 year ago
Updated 3 August 2024, 11 months ago

Problem/Motivation

The fix for the issue reported in #2705891: Client-side-validation broken with Chosen seems to not work (anymore), I'm still getting the following error in the Chrome console:
An invalid form control with name='field_test[]' is not focusable.

Steps to reproduce

  1. Add a required field to an entity type
  2. Create a new entity
  3. Run the following in the browser console in case Drupal sets a default value: document.getElementById('xxxx').value = ''
  4. Submit the form

Proposed resolution

The last suggested fix in the upstream issue does seem to fix the issue.

🐛 Bug report
Status

Postponed: needs info

Version

4.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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