After enabling bootstrap 3.1 my autocomplete fields do not render as autocomplete fields and no js errors show up. I've tried switching to different versions of jquery in jquery update 1.10, 1.9, and 1.8. No versions seam to make any difference. When I load bootstrap 3.0 it seams to work ok.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ShaneEaston created an issue. See original summary.

markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)

There can be many points of failure for why an autocomplete doesn't work. You'll have to do some more debugging to pin point what exactly the issue is, otherwise I cannot help here.

maxsperber’s picture

Just faced the same issue when updating from 3.1.beta3 to 3.1. It seemed that Drupal was not able to load autocomplete.js from themes/bootstrap/js/misc/autocomplete.js! I went back to the former release because i don't have time to fix the problem right now.

I'm using Drupal 7.38 (not in production). I will update to 7.41 in a few days when my work in production mode is done and I'll try to run 3.1 for research.

robertom’s picture

Status: Postponed (maintainer needs more info) » Active

Hi, sorry for my bad english.

This issue is due to this commit: http://cgit.drupalcode.org/bootstrap/commit/templates/system/textfield.f...

that is introduced for change made on drupal 7.39 (see: https://www.drupal.org/drupal-7.39-release-notes).

You could upgrade to (at least) drupal 7.39 or revert the committed patch.

Could be usefull add a note to description of bootstrap module

markhalliwell’s picture

Status: Active » Closed (works as designed)
Related issues: +#2566541: Update theme_textfield to be in line with core 7.39

I've created the following change record: https://www.drupal.org/node/2632698
edit: and added it to the release notes

zterry95’s picture

again not working:(
drupal 7.41, bootstrap 7.33

the autocomplete widget supplied by entityreference(1.x-dev).

zterry95’s picture

Status: Closed (works as designed) » Active
markhalliwell’s picture

Status: Active » Closed (works as designed)
filnug’s picture

I'm using autocomplete with Ckeditor Link and it doesnt work since I updated the last version of Drupal and Bootstrap...

Any idea?
Here is a print screen. The problem occurs only for editor.

ckeditor link autocompte problem

pandabrand’s picture

I am still having this issue, I have updated to 7.42 core, 7.x-3.4 bootstrap, and 7.x-2.4 any suggestions?

filnug’s picture

@pandabrand: To make it work, I had to come back to an older release. The 7.x-3.0 version.

It is the only solution for now....

usta’s picture

@pandabrand and @filnug: Entity reference's autocomplete (7.x-1.1) works for me with with Drupal 7.42, Module Bootstrap 7.x-3.4 and Bootstrap 3.3.6.

Maybe your issue is something else?

lupa18’s picture

Hello, We are experiencing similar problem on auto-complete of taxonomies.

Env:
* Drupal 7.43
* Bootstrap 7.x-3.5

Console give us this error: https://share.riseup.net/#4I5hDTDxNcPczzGTtiOD2w

ConradFlashback’s picture

Also for me autocomplete doesn't work with 7.x-3.5.
Very big problem!

ConradFlashback’s picture

Update: the problems seems to be solved upgrading jQuery Update 2.7 to 3.0 alpha 3.

hirschg’s picture

I had also the Problem after upgrading jQuery Update to 3.0 alpha 3

jas1988’s picture

Status: Closed (works as designed) » Active

Drupal 7.50
Bootstrap 3.8
jquery_update 3.0 alpha

But still autocomplete not working it only works with bootstrap 3.0 version

jas1988’s picture

This is because after updating autocomplete box returen this path. example my field is field_topic2

index.php?q=taxonomy/autocomplete/field_topic2/q

And before it was using this path

taxonomy/autocomplete/field_topic2/q

So it returns pop up with 404 error

Hope there is some method to fix it in Bootstrap updated version so that it use right path while autocomplete.

jas1988’s picture

Either way is to make this path woking or changes commits to old :

http://cgit.drupalcode.org/bootstrap/commit/templates/system/textfield.f...

markhalliwell’s picture

Status: Active » Closed (works as designed)

@jas1988:

1) Please do not re-open old (already closed) issues.
2) Please read the change record associated with this issue.

jas1988’s picture

sorry for reopen!

But I am not running Drupal version prior to 7.39 but my version of Drupal is 7.50 still it creates problem.

ivoo56’s picture

francescosciamanna’s picture

To whom may still run on this issue, I solved it by installing jQuery Update Module.

hockey2112’s picture

I can confirm that #23 worked for me as well. I already had Jquery Update installed, but I had to change the "admin" setting from 1.5 to 1.8.

In my use case, I am allowing users of a certain role to create nodes that contain autocomplete fields, and I have the permission to access the administrative theme turned OFF so that their node creation form is styled using the front-end theme.

ugintl’s picture

I am using drupal 7.67, bootstrap 3.65, and jquery version 3.1. All working fine. It was not working when the jquery version was 2.1 for bootstrap theme.

ugintl’s picture

#25 correction. It is working fine for me on 2.1 as well. Actually I was not connected to internet and bootstrap library was not loaded.