1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2026-01-03 21:42:32 +03:00

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
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"
/>