rc-picker
Advanced tools
Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
@@ -208,3 +208,6 @@ "use strict"; | ||
var setSelectedValue = function setSelectedValue(newDate) { | ||
setDateText(newDate); | ||
if (!isSameTextDate(textValue, newDate)) { | ||
setDateText(newDate); | ||
} | ||
setInternalSelectedValue(newDate); | ||
@@ -230,6 +233,3 @@ }; | ||
var triggerChange = function triggerChange(newValue) { | ||
if (!isSameTextDate(textValue, newValue)) { | ||
setDateText(newValue); | ||
} | ||
setSelectedValue(newValue); | ||
setInnerValue(newValue); | ||
@@ -236,0 +236,0 @@ |
@@ -208,3 +208,6 @@ "use strict"; | ||
var setSelectedValue = function setSelectedValue(newDate) { | ||
setDateText(newDate); | ||
if (!isSameTextDate(textValue, newDate)) { | ||
setDateText(newDate); | ||
} | ||
setInternalSelectedValue(newDate); | ||
@@ -230,6 +233,3 @@ }; | ||
var triggerChange = function triggerChange(newValue) { | ||
if (!isSameTextDate(textValue, newValue)) { | ||
setDateText(newValue); | ||
} | ||
setSelectedValue(newValue); | ||
setInnerValue(newValue); | ||
@@ -236,0 +236,0 @@ |
{ | ||
"name": "rc-picker", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"description": "React date & time picker", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
407563
10466