dash-core-components 3.0.1 → 3.0.2

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.
@@ -50,7 +50,8 @@ var Dropdown = function Dropdown(props) {
50
50
  setProps = props.setProps,
51
51
  search_value = props.search_value,
52
52
  style = props.style,
53
- value = props.value;
53
+ value = props.value,
54
+ searchable = props.searchable;
54
55
  var _useState = (0, _react.useState)(null),
55
56
  _useState2 = _slicedToArray(_useState, 2),
56
57
  optionsCheck = _useState2[0],
@@ -154,7 +155,7 @@ var Dropdown = function Dropdown(props) {
154
155
  options: sanitizedOptions,
155
156
  value: value,
156
157
  onChange: onChange,
157
- onInputChange: onInputChange,
158
+ onInputChange: searchable ? onInputChange : undefined,
158
159
  backspaceRemoves: clearable,
159
160
  deleteRemoves: clearable,
160
161
  inputProps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-core-components",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Core component suite for Dash",
5
5
  "repository": {
6
6
  "type": "git",