rc-input-number
Advanced tools
Comparing version 2.5.6 to 2.5.7
@@ -248,3 +248,7 @@ 'use strict'; | ||
var props = this.props; | ||
var props = _extends({}, this.props); | ||
// Remove React warning. | ||
// Warning: Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). | ||
delete props.defaultValue; | ||
var prefixCls = props.prefixCls; | ||
@@ -251,0 +255,0 @@ var classes = (0, _classnames2['default'])((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, props.className, !!props.className), _defineProperty(_classNames, prefixCls + '-disabled', props.disabled), _defineProperty(_classNames, prefixCls + '-focused', this.state.focused), _classNames)); |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.6", | ||
"version": "2.5.7", | ||
"description": "input-number 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
19647
382