Major problem with password field

If a form contain a field define as password, the password will be replace by the login password when the form is loaded.

If the form is save the password will be overwritten by the login password.

Even if the password is suppose to be encrypt, the plain login password is saved without encryption.

If the View password characters option is on it will show the wrong password, the login password.

The only way to prevent that is to remove the password option on the field and it will work normally, except that the password will be visible in the form.

It need to be fixed as soon as possible

@jlboutin60,

We have identified a problem with the functioning of the text field in the form when the “Password type field” option is enabled. The problem has already been reported so that the responsible team can fix it.

In the problem in question, even when including or updating the field, the information is never visible, only the “show password” icon remains inside the field input.

Are you also facing this problem? Or in your case is it another problem?

We look forward to your feedback.

Best regards!

Yes, this is also happening, but not all the time

I find the problem, password field should be set to autocomplete=“new-password” not “off” when Browser autocomplete option is selected

For now I use this work around

?>
   <script>
      document.addEventListener("DOMContentLoaded", function () {
          document.querySelectorAll('input[type="password"]').forEach(input => {
             const ac = input.getAttribute('autocomplete');
             if (ac === 'off') {
                input.setAttribute('autocomplete', 'new-password');
             }
           });
       });
   </script>
<?php