Max Limit on Password Field

Is there an easy way to limit the number of characters in an input that is a Password format? When the content format is “Text”, “Limit number of characters” is an option. But I do not see that option if the content format is “Password”.

Thank you



I have the same question for the password field & email field - bumping this to see if anyone has come across a solution.

Same issue here: I am using password as way to mask the social security number and would like to limit the field to the appropriate number of characters AND only allow numbers. (But I cannot change the Password Policy because I need it to remain the same for login/signin)