Skip to content

Commit

Permalink
Modify search placeholder
Browse files Browse the repository at this point in the history
Modification of pages search place holder that can be read from language resource files.
  • Loading branch information
uzmannazari authored Nov 2, 2022
1 parent 19cb07f commit 935540d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SearchPageInput extends Component {
value={this.state.searchTerm}
onChange={this.onSearchFieldChange.bind(this)}
onKeyPress={(e) => { e.key === "Enter" ? this.props.onSearch(this.state.searchTerm) : null; }}
placeholder="Search" />
placeholder="{Localization.get("Search")}" />
</div>
{this.state.searchTerm ?
<div
Expand Down Expand Up @@ -74,4 +74,4 @@ SearchPageInput.propTypes = {
clearSearch: PropTypes.func.isRequired
};

export default SearchPageInput;
export default SearchPageInput;

0 comments on commit 935540d

Please # to comment.