Merge pull request #805 from mirumee/SALEOR-1482-fix-single-autocomplete-select
Update condition for falsy values in Single autocomplete select field to also include null
This commit is contained in:
commit
ddd988191c
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ const SingleAutocompleteSelectFieldComponent: React.FC<SingleAutocompleteSelectF
|
|||
};
|
||||
|
||||
// fix for bug where input value is returned from debounce as id instead of label
|
||||
if (value === inputValue && inputValue !== "") {
|
||||
if (value === inputValue && !!inputValue) {
|
||||
ensureProperValues();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue