Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#9 | Capture d’écran 2016-01-27 à 10.59.55.png | 48.8 KB | filnug |
Comments
Comment #2
markhalliwellThere 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.
Comment #3
maxsperber CreditAttribution: maxsperber commentedJust 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.
Comment #4
robertom CreditAttribution: robertom at bmeme commentedHi, 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
Comment #5
markhalliwellI've created the following change record: https://www.drupal.org/node/2632698
edit: and added it to the release notes
Comment #6
zterry95 CreditAttribution: zterry95 commentedagain not working:(
drupal 7.41, bootstrap 7.33
the autocomplete widget supplied by entityreference(1.x-dev).
Comment #7
zterry95 CreditAttribution: zterry95 commentedComment #8
markhalliwellComment #9
filnug CreditAttribution: filnug commentedI'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.
Comment #10
pandabrand CreditAttribution: pandabrand commentedI am still having this issue, I have updated to 7.42 core, 7.x-3.4 bootstrap, and 7.x-2.4 any suggestions?
Comment #11
filnug CreditAttribution: filnug commented@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....
Comment #12
usta CreditAttribution: usta commented@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?
Comment #13
lupa18 CreditAttribution: lupa18 commentedHello, 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
Comment #14
ConradFlashback CreditAttribution: ConradFlashback commentedAlso for me autocomplete doesn't work with 7.x-3.5.
Very big problem!
Comment #15
ConradFlashback CreditAttribution: ConradFlashback commentedUpdate: the problems seems to be solved upgrading jQuery Update 2.7 to 3.0 alpha 3.
Comment #16
hirschg CreditAttribution: hirschg commentedI had also the Problem after upgrading jQuery Update to 3.0 alpha 3
Comment #17
jas1988 CreditAttribution: jas1988 as a volunteer commentedDrupal 7.50
Bootstrap 3.8
jquery_update 3.0 alpha
But still autocomplete not working it only works with bootstrap 3.0 version
Comment #18
jas1988 CreditAttribution: jas1988 as a volunteer commentedThis 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.
Comment #19
jas1988 CreditAttribution: jas1988 as a volunteer commentedEither way is to make this path woking or changes commits to old :
http://cgit.drupalcode.org/bootstrap/commit/templates/system/textfield.f...
Comment #20
markhalliwell@jas1988:
1) Please do not re-open old (already closed) issues.
2) Please read the change record associated with this issue.
Comment #21
jas1988 CreditAttribution: jas1988 as a volunteer commentedsorry 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.
Comment #22
ivoo56 CreditAttribution: ivoo56 commentedhttps://www.drupal.org/node/2695405
Comment #23
francescosciamanna CreditAttribution: francescosciamanna commentedTo whom may still run on this issue, I solved it by installing jQuery Update Module.
Comment #24
hockey2112 CreditAttribution: hockey2112 commentedI 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.
Comment #25
ugintl CreditAttribution: ugintl commentedI 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.
Comment #26
ugintl CreditAttribution: ugintl commented#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.