Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Set maxlength on shot search input field
Browse files Browse the repository at this point in the history
  • Loading branch information
pdehaan committed Oct 5, 2016
1 parent 848ad59 commit 58abc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/pages/shotindex/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Body extends React.Component {
<h1><a href="/shots">Page Shot</a></h1>
<form onSubmit={ this.onSubmitForm.bind(this) }>
<span className="search-label" />
<input type="text" id="search" ref="search" placeholder="search my shots" defaultValue={this.state.defaultSearch} onChange={this.onChangeSearch.bind(this)} />
<input type="text" id="search" ref="search" maxlength="100" placeholder="search my shots" defaultValue={this.state.defaultSearch} onChange={this.onChangeSearch.bind(this)} />
<button title="search"></button>
</form>
</div>
Expand Down

0 comments on commit 58abc98

Please sign in to comment.