optgroup with single select
Hey, can't select only one option when optgroup is enabled: https://codepen.io/damian-woniak/pen/PomvYeN
Hello in function addOptgroup -> addOptgroup.call(this, i, selectOptions); Previously was addOptgroup.call(this, startIndexi, selectOptions);
Work for me!
Hello in function addOptgroup -> addOptgroup.call(this, i, selectOptions); Previously was addOptgroup.call(this, startIndexi, selectOptions);
Work for me!
Nice workaround! Thanks. Hope this bug will be fixed soon
Hello in function addOptgroup -> addOptgroup.call(this, i, selectOptions); Previously was addOptgroup.call(this, startIndexi, selectOptions);
Work for me!
Sorry but this workaround isn't working for me. Any tips? I've followed everything exactly.
Hello in function addOptgroup -> addOptgroup.call(this, i, selectOptions); Previously was addOptgroup.call(this, startIndexi, selectOptions); Work for me!
Sorry but this workaround isn't working for me. Any tips? I've followed everything exactly.
@wastzzz It probably depends on your setup but you may also need to apply the patch to dist/js/bootstrap-select.min.js, if that's what you are using. In my case, I am using webpack which does its own minification so I don't need bootstrap-select.min.js.
If you are using dist/js/bootstrap-select.js then you can install my git version, I did yarn add technical-team/bootstrap-select#152c93764e78eb52a5d20ff88ad5194bd766b061
Maybe would be easier if there would just be 1.14.0-beta-3 release of this library, given that some pretty basic functionality is broken :)
Hi Lee, thanks so much for your reply. Nope, I am not using the minified version. But I'll try what you are telling me.
Yeah I agree it would be better to wait for next release, but I’ve migrated everything to bs5 and I need to find a temporary fix for this somehow.
Best Massimo
On 12 Sep 2021, at 22:34, Lee Houghton @.***> wrote:
Hello in function addOptgroup -> addOptgroup.call(this, i, selectOptions); Previously was addOptgroup.call(this, startIndexi, selectOptions); Work for me!
Sorry but this workaround isn't working for me. Any tips? I've followed everything exactly.
@wastzzz It probably depends on your setup but you may also need to apply the patch to dist/js/bootstrap-select.min.js, if that's what you are using. In my case, I am using webpack which does its own minification so I don't need bootstrap-select.min.js.
If you are using dist/js/bootstrap-select.js then you can install my git version, I did yarn add technical-team/bootstrap-select#152c93764e78eb52a5d20ff88ad5194bd766b061
Maybe would be easier if there would just be 1.14.0-beta-3 release of this library, given that some pretty basic functionality is broken :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.