diff --git a/packages/terra-form-select/src/search/Frame.jsx b/packages/terra-form-select/src/search/Frame.jsx index 875f8604f5a..2cc7f37b49a 100644 --- a/packages/terra-form-select/src/search/Frame.jsx +++ b/packages/terra-form-select/src/search/Frame.jsx @@ -232,9 +232,9 @@ class Frame extends React.Component { this.setState({ isFocused: false, focusedByTouch: false }); if (this.state.hasSearchChanged) { - this.setState({ - searchValue: this.state.searchValue.trim(), - }); + this.setState((prevState) => ({ + searchValue: prevState.searchValue.trim(), + })); } this.closeDropdown();