Skip to content

Commit

Permalink
fix: auto focus MFA input in sign in form (medplum#4125)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonstreator committed Mar 9, 2024
1 parent 237aa69 commit e2c6a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/auth/MfaForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function MfaForm(props: MfaFormProps): JSX.Element {
</Alert>
)}
<Stack>
<TextInput name="token" label="MFA code" required />
<TextInput name="token" label="MFA code" required autoFocus />
</Stack>
<Group justify="flex-end" mt="xl">
<Button type="submit">Submit code</Button>
Expand Down

0 comments on commit e2c6a4d

Please sign in to comment.