The module is supposed to support the ability to view the password by clicking on the eye but when you do you get the following error for the site module
Uncaught TypeError: Cannot read property 'nextElementSibling' of null
at HTMLSpanElement.<anonymous> (passwordview.min.js?a41cbebf78ce21eda724838de8f977ba:1)
(anonymous) @ passwordview.min.js?a41cbebf78ce21eda724838de8f977ba:1
and this error for the admin module
Uncaught TypeError: Cannot set property 'type' of null
at HTMLSpanElement.<anonymous> (passwordview.min.js?a41cbebf78ce21eda724838de8f977ba:1)
(anonymous) @ passwordview.min.js?a41cbebf78ce21eda724838de8f977ba:1
Spotted this while trying to fix some a11y errors with it but I cant do that while there is this js error and I dont have the js skill to debug/fix
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Title |
|
I see the issue. Will submit a PR later
I'm on it already
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-16 12:30:58 |
Closed_By | ⇒ | brianteeman |
To be honest the way this JS works appears to be a hard coding to a specific markup. I thought the entire point of layouts etc was to free a designer from specific hard requirements like this. We're just swapping one well supported and cohesive framework for a hotch porch of hacked together scripts that still place restrictions.
The only place it does work correctly is
administrator/index.php?option=com_users&view=user&layout=edit