How to add a re-enter password field to Universal Login Experience (Sign-up)?

Hi @hyblmedia
I found out the solution to add additionalSignUpFields with such functionality as below:

additionalSignUpFields: [
        {
          name: "repeat_password",
          placeholder: Repeat Password,          
          type: "password",
          validator: function (repeat_password) {
            const passwordField = document.getElementsByName("password")[0];

            if (passwordField === undefined || passwordField.value !== repeat_password) {
              return {
                valid: false,
                hint: 'Passwords do not match',
              };
            }
            return { valid: true };
          },
        },
      ],

Anyway I still have issue with type: password as it’s not working as it should. For now it always behave like a standard text field, so the typed data is visible (not dotted).