bootstrap-select-country
bootstrap-select-country copied to clipboard
Flags not being displayed if using latest version of each library.
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.
@JoseAntonioIdener Thanks for reporting this! I need to look into this!
I just spent 2.5 hours banging my head of the wall with this.
So glad I found this issue, before I spent the same amount of time as Chris!
Here is a jsbin running Bootstrap 4 and latest version of everything: https://jsbin.com/nucaxugato/edit?html,output
@SlyDave For me, i can't see any flags on our URL; I have the same problem as @chrisloughnane
@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:
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
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!