Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
UXPLATFORM-10430 fix search field value clears out issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adavijit committed May 21, 2024
1 parent 5ecb145 commit de0d128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/terra-form-select/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

## Unreleased

* Fixed
* Search field value now persists when navigating to another component.

## 6.62.1 - (May 13, 2024)

* Fixed
* Fixed a "prop not recognized" console error.


## 6.62.0 - (May 8, 2024)

* Added
Expand Down
3 changes: 1 addition & 2 deletions packages/terra-form-select/src/search/Frame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ class Frame extends React.Component {

if (this.state.hasSearchChanged) {
this.setState({
searchValue: this.props.display,
hasSearchChanged: false,
hasSearchChanged: true,
});
}

Expand Down

0 comments on commit de0d128

Please sign in to comment.