select2-component
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -480,6 +480,8 @@ "use strict"; | ||
} | ||
else { | ||
var option = this.data ? common.getOptionByValue(this.data, value) : null; | ||
this.select(option); | ||
else if (this.data) { | ||
this.select(common.getOptionByValue(this.data, value)); | ||
} | ||
else if (this._control) { | ||
this._control.viewToModelUpdate(value); | ||
} | ||
this._changeDetectorRef.markForCheck(); | ||
@@ -486,0 +488,0 @@ } |
{ | ||
"name": "select2-component", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "A vuejs, reactjs and angular select component.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143242
2202