Disable input field autocomplete
This commit is contained in:
@@ -545,6 +545,7 @@ export default withRouter(class Progress extends React.Component {
|
||||
onChange={this.handleAnswerInput}
|
||||
value={this.state.answerInput}
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
autocomplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.processAnswer()}
|
||||
@@ -686,6 +687,7 @@ export default withRouter(class Progress extends React.Component {
|
||||
value={this.state.answerInput}
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
readOnly
|
||||
autocomplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.nextQuestion()}
|
||||
|
||||
Reference in New Issue
Block a user