Socket
Socket
Sign inDemoInstall

rc-input-number

Package Overview
Dependencies
Maintainers
3
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-input-number - npm Package Compare versions

Comparing version 2.5.13 to 2.5.14

8

lib/InputNumber.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc