We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b618616 commit c8cae0aCopy full SHA for c8cae0a
1 file changed
select2.js
@@ -1805,6 +1805,7 @@ the specific language governing permissions and limitations under the Apache Lic
1805
initSelection: function () {
1806
var selected;
1807
if (this.opts.element.val() === "" && this.opts.element.text() === "") {
1808
+ this.updateSelection([]);
1809
this.close();
1810
this.setPlaceholder();
1811
} else {
0 commit comments