- Issue created by @taylormadeapps
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 10:33pm 21 November 2023
Submitting these patch files from work done to make this work with Drupal 10.
Drupal no longer supplies jquery once function: https://drupalbook.org/blog/replace-jqueryonce-javascript-once-drupal-10]
$('.address-autocomplete-input', context).once('initiate-autocomplete').each(function(){
Now Becomes:
$(once('initiate-autocomplete', '.address-autocomplete-input', context)).each(function () {
Requires `core/once` including in module's .libraries.yml file
dependencies:
- core/jquery
- core/jquery.once
- core/drupal
- core/once
Also added ^10 to .info.yml file.
Not regression tested with D9 as D9 is EOL.
Needs review
1.0
Code