Closed (fixed)
Project:
Address Autocomplete
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Mar 2023 at 09:06 UTC
Updated:
2 Aug 2024 at 18:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ashutosh ahirwal commentedProviding patch
Comment #3
ashutosh ahirwal commentedFor the issue
"The 'address_autocomplete' extension is not installed. Cannot check deprecated library use."
Please make sure that you have added "address" module.
Comment #4
vitor faria commentedThis throws a JS error.
Uncaught TypeError: $(...).once is not a function
at Object.attach (address_autocomplete.js?s2qa25:5:41)
The JS file in this module is not using the once function properly. That needs to be changed for this patch to work.
Comment #5
vitor faria commentedComment #6
chandreshgiri gauswami commentedWorking on it
Comment #8
chandreshgiri gauswami commentedRaised an MR with fixes
Comment #10
geoffreyr commentedAdded the
contextas the 3rd parameter to the call toonce()so wheneverDrupal.behaviors.address_autocompleteattaches, it only finds theinput.address-line1that are present within that context, whether it be the document or the AJAXing container or whatever. (as per once change record https://www.drupal.org/node/3158256)Comment #12
vaish commentedHere is the patch that corresponds to the current state of Merge Request !8
Comment #15
vaish commented