react-select-input-v2 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/es/index.js +11 -9
  2. package/package.json +1 -1
package/es/index.js CHANGED
@@ -220,20 +220,20 @@ var SelectInput = function (_Component) {
220
220
  document.removeEventListener('click', this.handleOutsideClick);
221
221
  };
222
222
 
223
- /*
224
- Various renderers
223
+ /*
224
+ Various renderers
225
225
  */
226
226
 
227
- /*
228
- Handle different events
227
+ /*
228
+ Handle different events
229
229
  */
230
230
 
231
- /*
232
- Searching function
231
+ /*
232
+ Searching function
233
233
  */
234
234
 
235
- /*
236
- Various helpers
235
+ /*
236
+ Various helpers
237
237
  */
238
238
 
239
239
  SelectInput.prototype.render = function render() {
@@ -259,6 +259,7 @@ var SelectInput = function (_Component) {
259
259
  onKeyUp: this.handleKeyUp,
260
260
  onKeyDown: this.handleKeyDown,
261
261
  autoFocus: this.props.autoFocus,
262
+ disabled: this.props.disabled,
262
263
  innerRef: function innerRef(ref) {
263
264
  return _this2.input = ref;
264
265
  }
@@ -312,5 +313,6 @@ SelectInput.defaultProps = {
312
313
  onKeyUp: undefined, //Function
313
314
  onKeyDown: undefined, //Function
314
315
  onClear: undefined, //Function
315
- noOptions: undefined //JSX
316
+ noOptions: undefined, //JSX
317
+ disabled: false,
316
318
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-select-input-v2",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "react-select-input React component",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",