fix: set original value for TypeaheadDropdown component

This commit is contained in:
Max Sokolski
2024-10-18 15:11:19 +03:00
committed by Adolfo R. Brandes
parent cfe19894d1
commit a94df2fdf0

View File

@@ -90,7 +90,7 @@ class TypeaheadDropdown extends React.Component {
this.setValue(opt);
this.setState({ displayValue: opt });
} else {
this.setValue(normalized);
this.setValue(value);
this.setState({ displayValue: value });
}
}