rc-checkbox
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -117,6 +117,7 @@ 'use strict'; | ||
this.handleChange = function (e) { | ||
var checked = e.target.checked; | ||
var checked = _this2.state.checked; | ||
if (!('checked' in _this2.props)) { | ||
_this2.setState({ | ||
checked: checked ? 1 : 0 | ||
checked: !checked | ||
}); | ||
@@ -126,3 +127,3 @@ } | ||
target: _extends({}, _this2.props, { | ||
checked: checked | ||
checked: !checked | ||
}), | ||
@@ -129,0 +130,0 @@ stopPropagation: function stopPropagation() { |
{ | ||
"name": "rc-checkbox", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "checkbox ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
14861