File tree Expand file tree Collapse file tree
src/components/screens/profile Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,24 +18,25 @@ export const ProfilePasswordForm = () => {
1818 return (
1919 < Box borderColor = "border.secondary" borderTopWidth = { 1 } py = { 6 } >
2020 < ProfileControlledInput
21- label = { t ( 'form.labels.old_password' ) }
22- name = "oldPassword"
23- placeholder = { t ( 'form.placeholders.old_password' ) }
2421 control = { control }
2522 errors = { errors }
23+ label = { t ( 'form.labels.old_password' ) }
24+ name = "oldPassword"
2625 onSubmitEditing = { focusNewPasswordInput }
26+ placeholder = { t ( 'form.placeholders.old_password' ) }
27+ type = "password"
2728 />
2829 < ProfileControlledInput
29- label = { t ( 'form.labels.new_password' ) }
30- name = "password"
31- placeholder = { t ( 'form.placeholders.new_password' ) }
3230 control = { control }
3331 errors = { { } }
3432 isInvalid = { isPasswordError }
3533 isRequired
34+ label = { t ( 'form.labels.new_password' ) }
35+ name = "password"
36+ onSubmitEditing = { Keyboard . dismiss }
37+ placeholder = { t ( 'form.placeholders.new_password' ) }
3638 rules = { { validate : { validationFn } } }
3739 type = "password"
38- onSubmitEditing = { Keyboard . dismiss }
3940 />
4041 { passwordSuggestions }
4142 < Row maxW = { 800 } justifyContent = "flex-end" >
You can’t perform that action at this time.
0 commit comments