Feature: #94653 - Autocomplete attribute for PasswordViewHelper

See forge#94653


Since password managers are frequently used by end users nowadays, a password field can define the autocomplete attribute, which informs the users' password manager how to fill the corresponding field. For example, creating a new password or filling in the current password.

See MDN Allowing autocomplete for a full list of possible attribute values.

To ease the use for integrators and developers, the attribute can now directly be added as tag attribute to the PasswordViewHelper.


<f:form.password name="newPassword" value="" autocomplete="new-password" />

<!-- Output -->

<input type="password" name="myNewPassword" value="" autocomplete="new-password" />


It's now possible to specify the autocomplete attribute for the password field through the PasswordViewHelper.