Disable input field autocomplete
This commit is contained in:
@@ -292,6 +292,7 @@ export default withRouter(class EditSet extends Component {
|
||||
placeholder="Set Title"
|
||||
value={this.state.inputs.title}
|
||||
className="set-title-input"
|
||||
autocomplete="off"
|
||||
/>
|
||||
</h2>
|
||||
<Button
|
||||
@@ -325,12 +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"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
name={`definition_${index}`}
|
||||
onChange={this.onDefinitionInputChange}
|
||||
value={this.state.inputContents[index] ? this.state.inputContents[index].definition : ""}
|
||||
autocomplete="off"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user