react-select-input-v2 1.0.6 → 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.
- package/es/index.js +11 -9
- package/lib/index.js +11 -9
- 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/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'];
|