Skip to content

Commit

Permalink
Feedback fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DigneshGujarathi committed Dec 29, 2020
1 parent 184b037 commit 6fa2ec5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/UI/Form/AutoComplete/AutoComplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ export const AutoComplete: React.SFC<AutocompleteProps> = ({
}
setSearchTerm('');
onChange('');
}
if (asyncSearch && value.length === 0) {
} else if (asyncSearch && value.length === 0) {
asyncValues.setValue([]);
}
if (onChange) {
Expand Down

0 comments on commit 6fa2ec5

Please sign in to comment.