[FIX] autocomplete React DOM property name
This commit is contained in:
@@ -48,7 +48,7 @@ export default function ClassicTestStart(props) {
|
||||
min={1}
|
||||
max={props.max}
|
||||
size="1"
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ export default withRouter(class CreateSet extends React.Component {
|
||||
placeholder="Set Title"
|
||||
className="set-title-input"
|
||||
ref={inputEl => (this.setNameInput = inputEl)}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</h2>
|
||||
|
||||
@@ -250,13 +250,13 @@ export default withRouter(class CreateSet extends React.Component {
|
||||
type="text"
|
||||
name={`term_${index}`}
|
||||
onChange={this.onTermInputChange}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
name={`definition_${index}`}
|
||||
onChange={this.onDefinitionInputChange}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -292,7 +292,7 @@ export default withRouter(class EditSet extends Component {
|
||||
placeholder="Set Title"
|
||||
value={this.state.inputs.title}
|
||||
className="set-title-input"
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</h2>
|
||||
<Button
|
||||
@@ -326,14 +326,14 @@ export default withRouter(class EditSet extends Component {
|
||||
name={`term_${index}`}
|
||||
onChange={this.onTermInputChange}
|
||||
value={this.state.inputContents[index] ? this.state.inputContents[index].term : ""}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
name={`definition_${index}`}
|
||||
onChange={this.onDefinitionInputChange}
|
||||
value={this.state.inputContents[index] ? this.state.inputContents[index].definition : ""}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -385,7 +385,7 @@ export default withRouter(class GroupPage extends Component {
|
||||
value={this.state.groupName}
|
||||
onKeyDown={this.handleInputKeypress}
|
||||
ref={inputEl => (this.groupNameInput = inputEl)}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={this.renameGroup}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function LivesTestStart(props) {
|
||||
min={1}
|
||||
max={props.max}
|
||||
size="1"
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -545,7 +545,7 @@ export default withRouter(class Progress extends React.Component {
|
||||
onChange={this.handleAnswerInput}
|
||||
value={this.state.answerInput}
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.processAnswer()}
|
||||
@@ -687,7 +687,7 @@ export default withRouter(class Progress extends React.Component {
|
||||
value={this.state.answerInput}
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
readOnly
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.nextQuestion()}
|
||||
|
||||
@@ -294,7 +294,7 @@ export default withRouter(class UserGroups extends Component {
|
||||
placeholder="Group Name"
|
||||
onKeyDown={this.handleGroupNameInputKeypress}
|
||||
ref={inputEl => (this.groupNameInput = inputEl)}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={this.createGroup}
|
||||
@@ -327,7 +327,7 @@ export default withRouter(class UserGroups extends Component {
|
||||
placeholder="Join Code"
|
||||
onKeyDown={this.handleJoinCodeInputKeypress}
|
||||
ref={inputEl => (this.joinCodeInput = inputEl)}
|
||||
autocomplete="off"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={this.joinGroup}
|
||||
|
||||
Reference in New Issue
Block a user