File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,11 @@ class SelectInputBinding extends InputBinding {
142
142
} ;
143
143
} ;
144
144
145
- // Calling selectize.clear() first works around https://github.com/selectize/selectize.js/issues/2146:
146
- // As of selectize.js >= v0.13.1, .clearOptions() clears the selection, but does NOT remove the
147
- // previously-selected options. So unless we do a manual .clear() first, the current selection(s)
148
- // will remain as (deselected) options. See #3966
145
+ // Calling selectize.clear() first works around https://github.com/selectize/selectize.js/issues/2146
146
+ // As of selectize.js >= v0.13.1, .clearOptions() clears the selection,
147
+ // but does NOT remove the previously-selected options. So unless we call
148
+ // .clear() first, the current selection(s) will remain as (deselected)
149
+ // options. See #3966 #4142
149
150
selectize . clear ( ) ;
150
151
selectize . clearOptions ( ) ;
151
152
let loaded = false ;
You can’t perform that action at this time.
0 commit comments