Disable input field autocomplete

This commit is contained in:
2021-10-22 07:45:31 +01:00
parent ef687ec869
commit 257a428316
7 changed files with 13 additions and 0 deletions

View File

@@ -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()}