react-select-search
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -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 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
56230
133
0