♻️ Remove disabled attribute from Save button in ChangePassword component (#1844)
This commit is contained in:
@@ -19,7 +19,7 @@ const ChangePassword = () => {
|
||||
handleSubmit,
|
||||
reset,
|
||||
getValues,
|
||||
formState: { errors, isValid, isSubmitting },
|
||||
formState: { errors, isSubmitting },
|
||||
} = useForm<UpdatePasswordForm>({
|
||||
mode: "onBlur",
|
||||
criteriaMode: "all",
|
||||
@@ -76,7 +76,6 @@ const ChangePassword = () => {
|
||||
mt={4}
|
||||
type="submit"
|
||||
loading={isSubmitting}
|
||||
disabled={!isValid}
|
||||
>
|
||||
Save
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user