Replace jQuery.once with drupal/once

Created on 1 February 2024, over 1 year 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

Remaining tasks

Produce patch

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

🇬🇧United Kingdom jofitz Coventry

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