BinaryStudioAcademy / bsa-winter-2023-2024-lime

10 stars 5 forks source link

BUG: Change and disapperance of error messages is not triggered real-time with the changes of input in Log in form #120

Open Olena-Olenka opened 7 months ago

Olena-Olenka commented 7 months ago

Describe your issue

Error message is displayed without changes under the field until user focuses on another element of the form after entering correct value

Steps to reproduce

  1. Go to Log in page.
  2. Focus on to Password field.
  3. Focus on Email field.
  4. Confirm that error message Please fill out this field is displayed under Password field.
  5. Focus on to Password field, enter 1 character (invalid value of length).
  6. Check if error message Please fill out this field is still displayed under Password field.
  7. Enter 6 characters (valid value of length).
  8. Check if error message Please fill out this field is still displayed under Password field.

What was the actual result?

Error message is displayed without changes under the field until user focuses on another element of the form after entering correct value

What was the expected result?

Error messages should disappear or change according to the actual real-time input when the user is trying to correct his error and enter new data. As a sample of such implementation can be taken Sign up form.

Put here any screenshots or videos (optional)

https://github.com/BinaryStudioAcademy/bsa-winter-2023-2024-lime/assets/123622110/b135c3c3-7efb-403b-8bae-4d8d27e768ea

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Severity

Minor (S4)

Olena-Olenka commented 7 months ago

Shall be fixed with merging 102

Olena-Olenka commented 7 months ago

Fixed with merging 102