Skip to content

Commit 8fd4443

Browse files
committed
chore: wrap comment
1 parent 5825af7 commit 8fd4443

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

srcts/src/bindings/input/selectInput.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ class SelectInputBinding extends InputBinding {
142142
};
143143
};
144144

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
149150
selectize.clear();
150151
selectize.clearOptions();
151152
let loaded = false;

0 commit comments

Comments
 (0)