ng2-eonasdan-datetimepicker
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -52,3 +52,5 @@ "use strict"; | ||
this._onChange(val); | ||
this._onTouched(); | ||
if (val) { | ||
this._onTouched(); | ||
} | ||
this.changeDetector.markForCheck(); | ||
@@ -60,2 +62,5 @@ }, | ||
DateTimePickerDirective.prototype.writeValue = function (value) { | ||
if (!value) { | ||
this.value = null; | ||
} | ||
this.value = value; | ||
@@ -62,0 +67,0 @@ this.setDpValue(value); |
{ | ||
"name": "ng2-eonasdan-datetimepicker", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Angular2+ component for bootstrap-datetimepicker library.", | ||
@@ -10,4 +10,6 @@ "keywords": [ | ||
"ng2", | ||
"datepicker", | ||
"bootstrap", | ||
"datetimepicker", | ||
"eonasdan", | ||
"component", | ||
@@ -14,0 +16,0 @@ "directive" |
@@ -71,3 +71,5 @@ import { | ||
this._onChange(val); | ||
this._onTouched(); | ||
if (val) { | ||
this._onTouched(); | ||
} | ||
this.changeDetector.markForCheck(); | ||
@@ -77,2 +79,5 @@ } | ||
writeValue(value) { | ||
if (!value) { | ||
this.value = null; | ||
} | ||
this.value = value; | ||
@@ -79,0 +84,0 @@ this.setDpValue(value); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34723
661
0