Mattan Bitner
Mattan Bitner

Reputation: 1523

multiselect in angular-ui-select bootstrap- keep items in menu list?

Is there a way to keep items in the dropdown list in an angular-mutliselect-ui-select control? I want to click an item, so it is added as selected but keep it in the list (if it is clicked again- nothing should happen).

Upvotes: 0

Views: 82

Answers (1)

Ahnassi
Ahnassi

Reputation: 75

Straightforward hack is to change $select.removeSelected = true; to false in select.js. A small example is here (see script.js, line: 1244), may be there is a way to do it externally without modifying script.js.

Upvotes: 1

Related Questions