Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Disable autocomplete in browser - Closes #873 #877

Merged
merged 1 commit into from
Oct 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/components/voteDialog/voteAutocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export class VoteAutocompleteRaw extends React.Component {
theme={styles}
onBlur={this.suggestionStatus.bind(this, false, 'votedSuggestionClass')}
onKeyDown={this.votedSearchKeyDown.bind(this)}
onChange={this.search.bind(this, 'votedListSearch')}/>
onChange={this.search.bind(this, 'votedListSearch')}
autoComplete='off'/>
<Card id='votedResult' className={`${styles.searchResult} ${this.state.votedSuggestionClass}`}>
<List>
{this.state.votedResult.map(
Expand Down Expand Up @@ -246,7 +247,8 @@ export class VoteAutocompleteRaw extends React.Component {
theme={styles}
onBlur={this.suggestionStatus.bind(this, false, 'unvotedSuggestionClass')}
onKeyDown={this.unvotedSearchKeyDown.bind(this)}
onChange={this.search.bind(this, 'unvotedListSearch')}/>
onChange={this.search.bind(this, 'unvotedListSearch')}
autoComplete='off'/>
<Card id='unvotedResult' className={`${styles.searchResult} ${this.state.unvotedSuggestionClass}`}>
<List>
{this.state.unvotedResult.map(
Expand Down