Skip to content

Commit 8392f5b

Browse files
author
Thomas Ladd
committed
1.0.3
1 parent c836ca2 commit 8392f5b

File tree

8 files changed

+3673
-1069
lines changed

8 files changed

+3673
-1069
lines changed

dist/@helpdotcom/react-select.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,9 @@ var Select = _react2['default'].createClass({
14571457
inputValue: '',
14581458
focusedIndex: null
14591459
}, function () {
1460-
_this3.props.onInputChange('');
1460+
if (_this3.props.onInputChange) {
1461+
_this3.props.onInputChange('');
1462+
}
14611463
_this3.addValue(value);
14621464
});
14631465
} else {
@@ -1466,7 +1468,9 @@ var Select = _react2['default'].createClass({
14661468
inputValue: '',
14671469
isPseudoFocused: this.state.isFocused
14681470
}, function () {
1469-
_this3.props.onInputChange('');
1471+
if (_this3.props.onInputChange) {
1472+
_this3.props.onInputChange('');
1473+
}
14701474
_this3.setValue(value);
14711475
});
14721476
}

dist/@helpdotcom/react-select.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/app.js

Lines changed: 2504 additions & 826 deletions
Large diffs are not rendered by default.

examples/dist/bundle.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,9 @@ var Select = _react2['default'].createClass({
17251725
inputValue: '',
17261726
focusedIndex: null
17271727
}, function () {
1728-
_this3.props.onInputChange('');
1728+
if (_this3.props.onInputChange) {
1729+
_this3.props.onInputChange('');
1730+
}
17291731
_this3.addValue(value);
17301732
});
17311733
} else {
@@ -1734,7 +1736,9 @@ var Select = _react2['default'].createClass({
17341736
inputValue: '',
17351737
isPseudoFocused: this.state.isFocused
17361738
}, function () {
1737-
_this3.props.onInputChange('');
1739+
if (_this3.props.onInputChange) {
1740+
_this3.props.onInputChange('');
1741+
}
17381742
_this3.setValue(value);
17391743
});
17401744
}

0 commit comments

Comments
 (0)