Replace jQuery.once with drupal/once

Created on 1 February 2024, about 1 year ago
Updated 16 May 2024, 11 months ago

Problem/Motivation

With Drupal 10.2.2 (and possibly previous versions), the error $(...).once is not a function is thrown on pages containing a select_or_other widget

Proposed resolution

Replace jQuery.once with drupal/once in MultipleSelectStatesHack.js
@see https://www.drupal.org/node/3158256

Remaining tasks

🐛 Bug report
Status

RTBC

Version

4.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