Browse Source

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

Claire 10 months ago
parent
commit
71fd70335a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/javascript/mastodon/features/interaction_modal/index.jsx

+ 3 - 0
app/javascript/mastodon/features/interaction_modal/index.jsx

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