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

Flags not being displayed if using latest version of each library.

Open ghost opened this issue 5 years ago • 8 comments

Hi there! Thanks for the work,

I just found that if you are using [email protected] and [email protected], the flags are not displayed (no error is reported in the console neither)

I tested it by using the example provided in the readme.

The modified example: https://jsbin.com/cinibug/edit?html,output Hope this helps anyone who uses this library.

ghost avatar Sep 17 '19 10:09 ghost

@JoseAntonioIdener Thanks for reporting this! I need to look into this!

mojoaxel avatar Sep 17 '19 17:09 mojoaxel

I just spent 2.5 hours banging my head of the wall with this.

chrisloughnane avatar Oct 08 '19 22:10 chrisloughnane

So glad I found this issue, before I spent the same amount of time as Chris!

SlyDave avatar Jan 14 '20 15:01 SlyDave

Here is a jsbin running Bootstrap 4 and latest version of everything: https://jsbin.com/nucaxugato/edit?html,output

SlyDave avatar Jan 14 '20 16:01 SlyDave

@SlyDave For me, i can't see any flags on our URL; I have the same problem as @chrisloughnane

devstack-be avatar Jan 29 '20 15:01 devstack-be

@SlyDave For me, i can't see any flags on our URL; I have the same problem as @chrisloughnane

That jsbin isn't a fix, it's a example of the issue using the latest version of bootstrap and bootstrap-select-country. It has the same issue. I was just bringing it up to date. :+1:

SlyDave avatar Jan 29 '20 15:01 SlyDave

I just now found the reason of the problem. The event $select.on('loaded.bs.select', function (e) {` is not triggered if the version of bootstrap-select is higher than 1.12. Im looking for a fix

devstack-be avatar Jan 29 '20 15:01 devstack-be

I'm sorry but I currently have no time to fix this. But If anybody provides a pull-request IÄll try to review it as fast as possible!

mojoaxel avatar Feb 08 '20 20:02 mojoaxel