truckingsim / Ajax-Bootstrap-Select

This uses the bootstrap-select plugin and extends it so that you can use a remote source to search.
MIT License
280 stars 97 forks source link

selectpicker show method not working #221

Closed maxwellhibbert closed 6 months ago

maxwellhibbert commented 6 months ago

I'm trying to show and fill the search programmatically, but the selectpicker('show') and selectpicker('toggle') methods aren't working. Is there a different way of going about this with ajax search enabled?

maxwellhibbert commented 6 months ago

Never mind, I had forgot to stopPropagation, so the clicking was closing the dropdown. 🤦‍♂️