rc-input-number
Advanced tools
Comparing version 2.5.13 to 2.5.14
@@ -289,7 +289,11 @@ 'use strict'; | ||
if (this.state.focused) { | ||
inputDisplayValue = this.state.inputValue || ''; | ||
inputDisplayValue = this.state.inputValue; | ||
} else { | ||
inputDisplayValue = this.state.value || ''; | ||
inputDisplayValue = this.state.value; | ||
} | ||
if (inputDisplayValue === undefined) { | ||
inputDisplayValue = ''; | ||
} | ||
// Remove React warning. | ||
@@ -296,0 +300,0 @@ // Warning: Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.13", | ||
"version": "2.5.14", | ||
"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
20259
403