Skip to content

Commit

Permalink
show password and confirm field after error
Browse files Browse the repository at this point in the history
  • Loading branch information
ektaghag-eaton committed Sep 28, 2023
1 parent a788fa1 commit 95adc78
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ export const ResetPasswordScreen: React.FC<ResetPasswordScreenProps> = (props) =
passwordRef,
confirmRef,
...PasswordProps,
initialNewPasswordValue: passwordInput,
initialConfirmPasswordValue: confirmInput,
onPasswordChange: (passwordData: { password: string; confirm: string }): void => {
updateFields(passwordData);
PasswordProps?.onPasswordChange?.(passwordData);
Expand Down

0 comments on commit 95adc78

Please sign in to comment.