react-select-input-v2 1.0.6 → 1.0.7

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/lib/index.js +11 -9
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -231,20 +231,20 @@ var SelectInput = function (_Component) {
231
231
  document.removeEventListener('click', this.handleOutsideClick);
232
232
  };
233
233
 
234
- /*
235
- Various renderers
234
+ /*
235
+ Various renderers
236
236
  */
237
237
 
238
- /*
239
- Handle different events
238
+ /*
239
+ Handle different events
240
240
  */
241
241
 
242
- /*
243
- Searching function
242
+ /*
243
+ Searching function
244
244
  */
245
245
 
246
- /*
247
- Various helpers
246
+ /*
247
+ Various helpers
248
248
  */
249
249
 
250
250
  SelectInput.prototype.render = function render() {
@@ -270,6 +270,7 @@ var SelectInput = function (_Component) {
270
270
  onKeyUp: this.handleKeyUp,
271
271
  onKeyDown: this.handleKeyDown,
272
272
  autoFocus: this.props.autoFocus,
273
+ disabled: this.props.disabled,
273
274
  innerRef: function innerRef(ref) {
274
275
  return _this2.input = ref;
275
276
  }
@@ -323,6 +324,7 @@ SelectInput.defaultProps = {
323
324
  onKeyUp: undefined, //Function
324
325
  onKeyDown: undefined, //Function
325
326
  onClear: undefined, //Function
326
- noOptions: undefined //JSX
327
+ noOptions: undefined, //JSX
328
+ disabled: false,
327
329
  };
328
330
  module.exports = exports['default'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-select-input-v2",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "react-select-input React component",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",