react-flatpickr
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -41,3 +41,3 @@ 'use strict'; | ||
value: function componentWillReceiveProps(props) { | ||
if (props.value) { | ||
if (props.hasOwnProperty('value')) { | ||
this.flatpickr.setDate(props.value, false); | ||
@@ -44,0 +44,0 @@ } |
@@ -16,3 +16,3 @@ | ||
componentWillReceiveProps(props) { | ||
if (props.value) { | ||
if (props.hasOwnProperty('value')) { | ||
this.flatpickr.setDate(props.value, false) | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "react-flatpickr", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "flatpickr for React", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1798129