the password field is minimum length code example
Example: minmax length password
<label for="password">Password:</label>
<input id="password" type="password" pattern=".{5,10}" required title="5 to 10 characters">
<label for="password">Password:</label>
<input id="password" type="password" pattern=".{5,10}" required title="5 to 10 characters">