~cytrogen/masto-fe

71fd70335adecfc53c3dd2d57e1483ff60adb530 — Claire 2 years ago 6c39125
Change interaction modal input to disable browser spell-checking, capitalization and autocomplete (#26267)

1 files changed, 3 insertions(+), 0 deletions(-)

M app/javascript/mastodon/features/interaction_modal/index.jsx
M app/javascript/mastodon/features/interaction_modal/index.jsx => app/javascript/mastodon/features/interaction_modal/index.jsx +3 -0
@@ 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>