Display show/hide button on selected form, not on all forms.

Comments

david.pashaev created an issue. See original summary.

davps’s picture

StatusFileSize
new2.16 KB

Created a settings page where user can select necessary form.

davps’s picture

Status: Active » Needs review
davps’s picture

StatusFileSize
new2.17 KB

Added user_register_form form.

riddhi.addweb’s picture

Status: Needs review » Needs work

As per the password toggle concept, it should toggle input field type to text from password when the user checked show password checkbox(instead of showing password below the text-field) and vice versa.
So by this way user don't have to re-enter their password to edit it. If we show password in text-field, the user can easily change a single letter instead of the whole password.

davps’s picture

Assigned: davps » Unassigned
Status: Needs work » Needs review

@Jigar.addweb I think it would be correct to make it as a separate issue.

IRuslan’s picture

@david.pashaev I guess you need to change path for the settings form from /admin/settings/password_toggle
to /admin/config/people/password_toggle

jacob.embree’s picture

Status: Needs review » Needs work

The patch does not apply.
IRuslan is correct about /admin/config/people, but I would use a hyphen, thus, /admin/config/people/password-toggle.