Give the search box field a name

Should fix https://github.com/vector-im/riot-web/issues/2462
pull/21833/head
David Baker 2016-12-06 14:40:09 +00:00
parent c0b931a837
commit a3ab59832e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ export default class DirectorySearchBox extends React.Component {
return <span className={classnames(searchbox_classes)}>
<div className="mx_DirectorySearchBox_container">
<input type="text" value={this.state.value}
<input type="text" name="dirsearch" value={this.state.value}
className="mx_DirectorySearchBox_input"
ref={this._collectInput}
onChange={this._onChange} onKeyUp={this._onKeyUp}