Autofocus security key field (#10048)

This commit is contained in:
Michael Weimann 2023-02-03 09:39:25 +01:00 committed by GitHub
parent ebb8408f28
commit 089557005a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 99 deletions

View file

@ -404,6 +404,7 @@ export default class AccessSecretStorageDialog extends React.PureComponent<IProp
label={_t("Security Key")}
value={this.state.recoveryKey}
onChange={this.onRecoveryKeyChange}
autoFocus={true}
forceValidity={this.state.recoveryKeyCorrect}
autoComplete="off"
/>