bootstrap-select icon indicating copy to clipboard operation
bootstrap-select copied to clipboard

Can't get v1.13.8 dropdown to work

Open SoftCircuits opened this issue 3 years ago • 10 comments
trafficstars

I seem to be having trouble getting the component to work. Clicking the element does not cause the dropdown to be displayed.

So I tried to duplicate the issue on Code Pen and it doesn't work there either. The versions on this Code Pen are the same or extremely close to the ones I'm using. I am using Bootstrap 5.

https://codepen.io/softcircuits/pen/ExEKyyV

Is anyone else having the same issue? Can anyone see if I missed something?

SoftCircuits avatar Jul 08 '22 01:07 SoftCircuits

I started using the bootstrap-select yesterday and I had the same issue. For bootstrap 5, please use [v1.14.0-beta3]. You can download the files here https://github.com/snapappointments/bootstrap-select/tree/main/js After I replaced the 1.13.8 files with this, it did work. But now I have problems changing the language. Maybe you can find this out for me

Chakuza2006 avatar Jul 08 '22 07:07 Chakuza2006

@Chakuza2006 Thanks. That does seem to support BS5. But it also seems buggy. In one case, it's doubling the items in the list.

I'm not sure if they are actively working on this component. The page at https://developer.snapappointments.com/bootstrap-select/ still shows version 1.13.14.

SoftCircuits avatar Jul 08 '22 15:07 SoftCircuits

still does not work. what bootstrap are you using. you all seem to forget to tell people what is compatible with what. version i mean

dcarbunescu avatar Jul 20 '22 10:07 dcarbunescu

still does not work. what bootstrap are you using. you all seem to forget to tell people what is compatible with what. version i mean

I´m using [email protected] and Bootstrap-select v1.14.0-beta3. Both seem to work in my case. I´m using local references:

bootstrap-select.zip

Chakuza2006 avatar Jul 20 '22 11:07 Chakuza2006

mine says error this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig) - does not like bootstrap dropdown.js, i have no idea how it is related. bs 5.1.3, bss 1.14.0-beta3 - fixed, needs bootstrap popper bundle

dcarbunescu avatar Jul 20 '22 12:07 dcarbunescu

mine says error this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig) - does not like bootstrap dropdown.js, i have no idea how it is related. bs 5.1.3, bss 1.14.0-beta3 - fixed, needs bootstrap popper bundle

This is what I have and it is working, you need popperjs and perhaps you need latest bootstrap:

    "bootstrap": "5.2.0",
    "bootstrap-select": "^1.14.0-beta3",
    "@popperjs/core": "^2.11.5",
    "jquery": "3.6.0",

thockamier avatar Jul 21 '22 23:07 thockamier

@thockamier Actually, I didn't need popper. I used the latest beta, which supports BS5, but it had some bugs. But someone else posted how they fixed those bugs and I did that and it seems to work now.

SoftCircuits avatar Jul 21 '22 23:07 SoftCircuits

Great! Glad it worked, I spent an hour playing around with it before I installed the latest beta and seems to work as well.

thockamier avatar Jul 21 '22 23:07 thockamier

my other question is why do we nee bootstrap select. bootstrap seems to do the same thing at least in the new or old version. i am still not clear on that one

dcarbunescu avatar Jul 22 '22 05:07 dcarbunescu

@dcarbunescu I have no idea who you are asking, but you don't have to use it. I use it because I need a multi-select drop down.

SoftCircuits avatar Jul 22 '22 12:07 SoftCircuits