Skip to content

Commit

Permalink
fix: set original value for TypeaheadDropdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
cmltaWt0 committed Oct 18, 2024
1 parent 4facf1c commit ab14d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editors/sharedComponents/TypeaheadDropdown/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
}
Expand Down

0 comments on commit ab14d34

Please sign in to comment.