rc-input-number
Advanced tools
Comparing version 2.5.12 to 2.5.13
@@ -164,3 +164,3 @@ 'use strict'; | ||
} | ||
this.props.onChange(isNaN(v) || v === '' ? '' : v); | ||
this.props.onChange(isNaN(v) || v === '' ? undefined : v); | ||
}, | ||
@@ -290,5 +290,5 @@ | ||
if (this.state.focused) { | ||
inputDisplayValue = this.state.inputValue; | ||
inputDisplayValue = this.state.inputValue || ''; | ||
} else { | ||
inputDisplayValue = this.state.value; | ||
inputDisplayValue = this.state.value || ''; | ||
} | ||
@@ -295,0 +295,0 @@ |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.12", | ||
"version": "2.5.13", | ||
"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
20191