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