Client-side-validation broken with Chosen

Created on 18 December 2023, 6 months ago
Updated 5 January 2024, 6 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

Needs review

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.69.0 2024