Problem with autocomplete deluxe module

Created on 29 August 2019, over 5 years ago
Updated 16 January 2024, 11 months ago

Problem/Motivation
I have used this module for role based access. Also I have enabled the autocomplete deluxe module in the same site. After enabling the autocomplete deluxe module it showing js error and after selecting the term. It is not showing the roles associated with it and not updating the roles in Permissions by term vertical tab on node edit page. Because autocomplete deluxe module will not add the form-autocomplete class in the input element.

Solution:
Instead of using the form-autocomplete class in bundle.js we can use ui-autocomplete-input class to check whether it is autocomplete or not. Because ui-autocomplete-input class will be added automatically via jquery.ui.

I have added the patch for this. Please review it. Thanks

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India iyyappan.govind Chennai, India

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Re rolled patch for Drupal 10.2.1

  • Status changed to Needs work 11 months ago
  • 🇩🇪Germany marcoliver Neuss, NRW, Germany

    I spent some time reproducing the problem. I am able to reproduce it, but just changing the selector in the JavaScript as you described does not seem to do the trick, since autocomplete_deluxe appears to store the data in a different structure of form elements.

    Can you please provide not only the changes that work for you in the patched bundle.js, but also in the source file (dom-client.prototype.js I'd assume)? That would make it significantly easier to find out how we can make this a universally applicable solution for all, with and without autocomplete_deluxe installed.

Production build 0.71.5 2024