1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Turn off autocomplete for search list

This commit is contained in:
Kegan Dougal
2016-01-22 17:32:43 +00:00
parent e78c1fba87
commit 437280020c

View File

@@ -108,7 +108,7 @@ var SearchableEntityList = React.createClass({
if (this.props.showInputBox) {
inputBox = (
<form onSubmit={this.onQuerySubmit}>
<form onSubmit={this.onQuerySubmit} autoComplete="off">
<input className="mx_SearchableEntityList_query" id="mx_SearchableEntityList_query" type="text"
onChange={this.onQueryChanged} value={this.state.query}
placeholder={this.props.searchPlaceholderText} />