rc-input-number
Advanced tools
Comparing version 2.5.11 to 2.5.12
@@ -267,6 +267,2 @@ 'use strict'; | ||
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; | ||
@@ -299,2 +295,8 @@ 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)); | ||
// 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; | ||
// https://fb.me/react-unknown-prop | ||
delete props.prefixCls; | ||
// ref for test | ||
@@ -301,0 +303,0 @@ return _react2['default'].createElement( |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.11", | ||
"version": "2.5.12", | ||
"description": "input-number ui component for react", | ||
@@ -46,5 +46,5 @@ "keywords": [ | ||
"rc-util": "^3.1.2", | ||
"react": "~0.14.0", | ||
"react-addons-test-utils": "^0.14.0", | ||
"react-dom": "^0.14.0" | ||
"react": "^15.2.0", | ||
"react-addons-test-utils": "^15.2.0", | ||
"react-dom": "^15.2.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "dependencies": { |
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
20172
400