[FIX] autocomplete React DOM property name

This commit is contained in:
2021-10-22 13:13:00 +01:00
parent 257a428316
commit 377ba23361
7 changed files with 13 additions and 13 deletions

View File

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