kblincoe / VisualGit_SE701_2019_4

1 stars 0 forks source link

Resetting password field when credentials are incorrect #286

Open dlrrb4714 opened 5 years ago

dlrrb4714 commented 5 years ago

Observed Behaviour Currently, when login credentials are incorrect, the input fields stay the same.

Preferred Behaviour For easier input for the user, it would be helpful if the password field were reset so they can be filled out again without having to delete the previous wrong input.

image

Steps to reproduce

  1. Compile with npm run compile
  2. Run with npm start
  3. Enter wrong login credentials
  4. Observe input fields
hybrio commented 5 years ago

i feel that most people wouldn't need the username field cleared when they incorrectly enter their password or make a spelling mistake in their username. maybe just auto clear the password?

dlrrb4714 commented 5 years ago

Agreed, updated the issue.