gearheads
/
mastodon
Archived
2
0
Fork 0

Change interaction modal input to disable browser spell-checking, capitalization and autocomplete (#26267)

gh/dev
Claire 2023-08-01 17:11:30 +02:00 committed by GitHub
parent 6c39125761
commit 71fd70335a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ class LoginForm extends React.PureComponent {
onFocus={this.handleFocus}
onBlur={this.handleBlur}
onKeyDown={this.handleKeyDown}
autocomplete='off'
autocapitalize='off'
spellcheck='false'
/>
<Button onClick={this.handleSubmit} disabled={isSubmitting}><FormattedMessage id='interaction_modal.login.action' defaultMessage='Take me home' /></Button>