Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-select-search

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-select-search - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

4

dist/index.js

@@ -662,3 +662,3 @@ 'use strict';

if (this.props.search) {
outElement = _react2.default.createElement('input', { type: 'hidden', defaultValue: this.props.value, ref: 'outInput', name: this.props.name });
outElement = _react2.default.createElement('input', { type: 'hidden', defaultValue: this.state.value, ref: 'outInput', name: this.props.name });
} else {

@@ -672,3 +672,3 @@ var outStyle = {

outElement = _react2.default.createElement('input', { type: 'text', onFocus: this.bound.onFocus, style: outStyle, defaultValue: this.props.value, ref: 'outInput', name: this.props.name });
outElement = _react2.default.createElement('input', { type: 'text', onFocus: this.bound.onFocus, style: outStyle, defaultValue: this.state.value, ref: 'outInput', name: this.props.name });
}

@@ -675,0 +675,0 @@ }

{
"name": "react-select-search",
"version": "0.5.0",
"version": "0.5.1",
"description": "React powered selectbox with filter",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -19,2 +19,6 @@ # React Select Search

## Known issues
* Weird tab behaviour in some places in Safari
## How to use

@@ -21,0 +25,0 @@

@@ -562,3 +562,3 @@ import React from 'react';

if (this.props.search) {
outElement = <input type="hidden" defaultValue={this.props.value} ref="outInput" name={this.props.name} />;
outElement = <input type="hidden" defaultValue={this.state.value} ref="outInput" name={this.props.name} />;
} else {

@@ -572,3 +572,3 @@ let outStyle = {

outElement = <input type="text" onFocus={this.bound.onFocus} style={outStyle} defaultValue={this.props.value} ref="outInput" name={this.props.name} />;
outElement = <input type="text" onFocus={this.bound.onFocus} style={outStyle} defaultValue={this.state.value} ref="outInput" name={this.props.name} />;
}

@@ -575,0 +575,0 @@ }

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