Pull request: ADG-9775 fix disabled button for autofilled login form

Merge in DNS/adguard-home from ADG-9775 to master

Squashed commit of the following:

commit 3544ba8d463d80c69285fba4af1332e80cd2f0c8
Merge: 9631f6c4d 7f9cef948
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Mar 10 13:55:27 2025 +0300

    Merge branch 'master' into ADG-9775

commit 9631f6c4d4
Author: Ildar Kamalov <ik@adguard.com>
Date:   Mon Mar 10 12:30:25 2025 +0300

    add changelog

commit 49fa7fe189
Author: Ildar Kamalov <ik@adguard.com>
Date:   Fri Mar 7 17:02:45 2025 +0300

    ADG-9775 fix disabled button for autofilled login form
This commit is contained in:
Ildar Kamalov 2025-03-10 14:25:56 +03:00
parent 7f9cef948c
commit 66fba942c8
2 changed files with 2 additions and 1 deletions
CHANGELOG.md
client/src/login/Login

View file

@ -24,6 +24,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
### Fixed
- Disabled button for autofilled login form.
- Formatting of elapsed times less than one millisecond.
- Changes to global upstream DNS settings not applying to custom client upstream configurations.
- The formatting of large numbers in the clients tables on the *Client settings* page ([#7583]).

View file

@ -21,7 +21,7 @@ const Form = ({ onSubmit, processing }: LoginFormProps) => {
control,
formState: { isValid },
} = useForm<LoginFormValues>({
mode: 'onBlur',
mode: 'onChange',
defaultValues: {
username: '',
password: '',