Skip to content

Commit

Permalink
Focus first field if user clicks "Set a new password"
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed May 8, 2024
1 parent 9e46ab1 commit 3320f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const UpdatePassword = () => {
value={value}
>
<Paragraph>
<label htmlFor="password1">{t('toolbar.profile.password.title', 'Set a new password')}</label>
<label htmlFor="currentPassword">{t('toolbar.profile.password.title', 'Set a new password')}</label>
</Paragraph>
<PasswordField<FormValue>
placeholder={t('toolbar.profile.password.current', 'Current password')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ exports[`<Profile /> should render unavailable state 1`] = `
class="c2"
>
<label
for="password1"
for="currentPassword"
>
Set a new password
</label>
Expand Down

0 comments on commit 3320f43

Please sign in to comment.