Fix selection first element from "postprocessResults" - exclude selected elements from highlightable elements
This commit is contained in:
parent
435b2581ff
commit
9266d7cf55
@ -1404,7 +1404,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
|
||||
// abstract
|
||||
findHighlightableChoices: function() {
|
||||
return this.results.find(".select2-result-selectable:not(.select2-disabled)");
|
||||
return this.results.find(".select2-result-selectable:not(.select2-disabled, .select2-selected)");
|
||||
},
|
||||
|
||||
// abstract
|
||||
|
Loading…
Reference in New Issue
Block a user