Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293910

Focus should be set to current password in case of validation errors for current password element.

$
0
0

Problem/Motivation

If a user wants to change the password he/she needs to enter the current password as well in the user edit form. The current password undergoes the form validation and return with the proper error message. But if we check the focus is set to the new password field which is not causing the error in submitting the form.
After following the steps to reproduce you will notice the error class is added to the wrong element.

Steps to reproduce

1)Navigate to user-edit form.
2) Enter the wrong current password while keeping everything else correct.
3) Save the form.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293910

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>