Google Places Autocomplete not working $(...).once is not a function in Drupal10

Created on 28 July 2023, over 1 year ago
Updated 29 March 2024, 9 months ago

Problem/Motivation

The jquery.once library was apparently removed in Drupal 10.
So Google Places Autocomplete doesn't work as a consequence.

Steps to reproduce

1) Install Drupal 10
2) Install google_place_autocomplete 8.x-2.1
3) Add a Google Places Autocomplete field widget on your text field
4) View your content type type address in text field its not working.

Proposed resolution

I attached a patch that adds the core/once library and keeps the jQuery dependency.
(See https://www.drupal.org/node/3158256 )

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

2.1

Component

Code

Created by

🇮🇳India Sunil Chaurasiya

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

Comments & Activities

Production build 0.71.5 2024