Update condition for falsy values in Single autocomplete select field

This commit is contained in:
Magdalena Markusik 2020-10-29 15:30:31 +01:00
parent 1bfc13c8b5
commit 6c74ae5591

View file

@ -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();
}