[FIX] auto capitalisation on mobile
This commit is contained in:
@@ -247,12 +247,16 @@ export default withRouter(class CreateSet extends React.Component {
|
||||
name={`term_${index}`}
|
||||
onChange={this.onTermInputChange}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
name={`definition_${index}`}
|
||||
onChange={this.onDefinitionInputChange}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -348,6 +348,8 @@ export default withRouter(class EditSet extends Component {
|
||||
onChange={this.onTermInputChange}
|
||||
value={this.state.inputContents[index] ? this.state.inputContents[index].term : ""}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
<input
|
||||
type="text"
|
||||
@@ -355,6 +357,8 @@ export default withRouter(class EditSet extends Component {
|
||||
onChange={this.onDefinitionInputChange}
|
||||
value={this.state.inputContents[index] ? this.state.inputContents[index].definition : ""}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -643,6 +643,8 @@ export default withRouter(class Progress extends React.Component {
|
||||
value={this.state.answerInput}
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.processAnswer()}
|
||||
@@ -793,6 +795,8 @@ export default withRouter(class Progress extends React.Component {
|
||||
ref={inputEl => (this.answerInput = inputEl)}
|
||||
readOnly
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={() => this.nextQuestion()}
|
||||
|
||||
@@ -328,6 +328,8 @@ export default withRouter(class UserGroups extends Component {
|
||||
onKeyDown={this.handleJoinCodeInputKeypress}
|
||||
ref={inputEl => (this.joinCodeInput = inputEl)}
|
||||
autoComplete="off"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="off"
|
||||
/>
|
||||
<Button
|
||||
onClick={this.joinGroup}
|
||||
|
||||
Reference in New Issue
Block a user