Hi there,
I have created a custom Registration Form using your 'rwmb_profile_register_fields' filter hook and all works well. I have added the password fields like so...
.....
'password' => [
'name' => __( 'Password', 'text-domain' ),
'id' => 'user_pass',
'type' => 'password',
'required' => true,
'desc' => '<span id="password-strength" class="rwmb-password-strength"></span>',
'attributes' => [
'autocomplete' => 'new-password'
]
],
'password2' => [
'name' => __( 'Confirm Password', 'text-domain' ),
'id' => 'user_pass2',
'type' => 'password',
'required' => true,
],
.....
However, when adding these password fields the "Show/Hide" password "eye icon" is no longer available to the user? Is there an attribute or method to keep this functionality on these fields when creating a custom registration form?
Many thanks 🙂