Reputation: 89
I am trying to delete all the values in a multiselect selectpicker from bootstrap-select (https://developer.snapappointments.com/bootstrap-select/) but it doesn't work no matter what I try.
I have tried following the examples from the remove method found in methods in the link provided above.
I have also tried using .empty()
followed by .selectpicker('refresh')
which only removes the first but when I click the second in the list, it shows the value of the first (removed) as selected.
JSFiddle: https://jsfiddle.net/asjnpLkh/1/
Upvotes: 0
Views: 636
Reputation: 89
Solution: It seems the problem was with beta3 version of bootstrap-select. Using beta2 works fine. Remove all options from bootstrap select multiselect
Upvotes: 0