diff --git a/src/common/Form/PasswordField.tsx b/src/common/Form/PasswordField.tsx index 0a84d787a6..40145be350 100644 --- a/src/common/Form/PasswordField.tsx +++ b/src/common/Form/PasswordField.tsx @@ -9,7 +9,6 @@ export const PasswordField = ({ name, component, ...rest }) => { { @@ -222,6 +223,7 @@ const SignUpPage = observer(() => { diff --git a/src/pages/UserSettings/content/sections/ChangeEmail.form.tsx b/src/pages/UserSettings/content/sections/ChangeEmail.form.tsx index ebd8b4e5a1..d211b76ea3 100644 --- a/src/pages/UserSettings/content/sections/ChangeEmail.form.tsx +++ b/src/pages/UserSettings/content/sections/ChangeEmail.form.tsx @@ -104,6 +104,7 @@ export const ChangeEmailForm = () => { data-cy="password" name="password" required + placeholder="Password" /> diff --git a/src/pages/UserSettings/content/sections/ChangePassword.form.tsx b/src/pages/UserSettings/content/sections/ChangePassword.form.tsx index d1ea638a7f..f186510268 100644 --- a/src/pages/UserSettings/content/sections/ChangePassword.form.tsx +++ b/src/pages/UserSettings/content/sections/ChangePassword.form.tsx @@ -93,6 +93,7 @@ export const ChangePasswordForm = () => { component={FieldInput} data-cy="newPassword" name="newPassword" + placeholder={fields.newPassword.placeholder} required /> @@ -107,6 +108,7 @@ export const ChangePasswordForm = () => { component={FieldInput} data-cy="repeatNewPassword" name="repeatNewPassword" + placeholder={fields.repeatNewPassword.placeholder} required /> diff --git a/src/pages/UserSettings/labels.ts b/src/pages/UserSettings/labels.ts index 4e4e459107..ca2da2b5fc 100644 --- a/src/pages/UserSettings/labels.ts +++ b/src/pages/UserSettings/labels.ts @@ -102,9 +102,11 @@ export const fields: ILabels = { }, newPassword: { title: 'New password', + placeholder: 'New password', }, oldPassword: { title: 'Old password', + placeholder: 'Old password', }, openingHours: { description: 'add opening day', @@ -125,6 +127,7 @@ export const fields: ILabels = { }, repeatNewPassword: { title: 'Repeat new password', + placeholder: 'Repeat new password', }, userName: { title: 'Username',