Loading mobile/src/auth/components/password_form.tsx +18 −1 Original line number Diff line number Diff line Loading @@ -13,12 +13,29 @@ export const PasswordForm = ({ control }: PasswordFormProps) => { <Controller control={control} name="newPassword" render={({ field: { onChange, onBlur, value } }) => ( render={({ field: { onChange, onBlur, value }, formState: {errors} }) => ( <CustomTextInput isPassword onBlur={onBlur} value={value} label="Password" errors={errors.newPassword?.message} textInputProps={{ onChangeText: (value) => onChange(value), }} /> )} /> <Controller control={control} name="newPasswordConfirmation" render={({ field: { onChange, onBlur, value }, formState: {errors} }) => ( <CustomTextInput isPassword onBlur={onBlur} value={value} errors={errors.newPasswordConfirmation?.message} label="Password Confirmation" textInputProps={{ onChangeText: (value) => onChange(value), }} Loading Loading
mobile/src/auth/components/password_form.tsx +18 −1 Original line number Diff line number Diff line Loading @@ -13,12 +13,29 @@ export const PasswordForm = ({ control }: PasswordFormProps) => { <Controller control={control} name="newPassword" render={({ field: { onChange, onBlur, value } }) => ( render={({ field: { onChange, onBlur, value }, formState: {errors} }) => ( <CustomTextInput isPassword onBlur={onBlur} value={value} label="Password" errors={errors.newPassword?.message} textInputProps={{ onChangeText: (value) => onChange(value), }} /> )} /> <Controller control={control} name="newPasswordConfirmation" render={({ field: { onChange, onBlur, value }, formState: {errors} }) => ( <CustomTextInput isPassword onBlur={onBlur} value={value} errors={errors.newPasswordConfirmation?.message} label="Password Confirmation" textInputProps={{ onChangeText: (value) => onChange(value), }} Loading