diff --git a/select2.js b/select2.js index 9207009c..cef3e134 100644 --- a/select2.js +++ b/select2.js @@ -2293,8 +2293,8 @@ the specific language governing permissions and limitations under the Apache Lic if (data == undefined) data = null; return data; } else { - if (!value || value === "") { - this.clear(triggerChange); + if (!value) { + this.clear(!!triggerChange); } else { data = this.data(); this.opts.element.val(!value ? "" : this.id(value));