Javascript error when loading a form using Search autocomplete

Created on 13 July 2023, over 1 year ago

Hi there, Dom 🙂 !

We got the following console error when loading a node form with Search Autocomplete 3.x (D10) :

drupal.js?v=10.1.1:64 Uncaught TypeError: Cannot read properties of undefined (reading 'theme')
    at HTMLInputElement.<anonymous> (jquery.autocomplete.js?v=10.1.1:366:94)
    at Function.each (jquery.min.js?v=3.7.0:2:3129)
    at Object.attach (jquery.autocomplete.js?v=10.1.1:343:9)
    at drupal.js?v=10.1.1:166:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=10.1.1:162:34)
    at drupal.init.js?v=10.1.1:32:12
    at HTMLDocument.listener (drupal.init.js?v=10.1.1:20:7)

There might be a control missing (present in 2.x).

Patch will follow.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇦🇺Australia GuillaumeG

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

Comments & Activities

Production build 0.71.5 2024