Skip to content

Commit

Permalink
fix(selectInput): searcheable
Browse files Browse the repository at this point in the history
  • Loading branch information
arielerv committed Jun 30, 2022
1 parent 9e7d183 commit 8281c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indec/react-commons",
"version": "5.1.1",
"version": "5.2.0",
"description": "Common reactjs components for apps",
"private": false,
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectInput/SelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const SelectInput = ({
loadOptions(0, true);
return;
}
if (action.action === selectActions.INPUT_CHANGE) {
if (action.action === selectActions.INPUT_CHANGE && onInputChange) {
setSkip(0);
onInputChange(term);
}
Expand Down

0 comments on commit 8281c15

Please sign in to comment.