[10.0] Remove jQuery dependency from the once feature

Created on 2 February 2023, almost 2 years ago
Updated 17 May 2023, over 1 year ago

Problem/Motivation

Change record: Remove jQuery dependency from the once feature โ†’

Steps to reproduce

  1. install Drupal 10
  2. composer require drupal/typed_data:^1.x-dev@dev
  3. composer require drupal/rules:^3.x-dev@dev
  4. drush pm:enable rules
  5. create a new rule
  6. the data selector never shows autocompleted results

Notes

  • the js/autocomplete.js script uses jQuery once which is no more supported in Drupal 10 and should be replaced with once
  • JavaScript console says "Uncaught TypeError: $(...).find(...).once is not a function" at line 110.
๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

User Interface

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance Zigazou

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

Comments & Activities

Production build 0.71.5 2024