Skip to content

Commit 54c35f9

Browse files
fix(useValidation): change minimum length requirement for email validation from 3 to 1
1 parent d4aca4f commit 54c35f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vue/src/js/hooks/useValidation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function useValidation (props) {
3737
allowedDomains = [], // Specific allowed domains
3838
blockedDomains = [], // Specific blocked domains
3939
allowSubdomains = true, // Allow email addresses with subdomains
40-
minLength = 3, // Minimum length before @
40+
minLength = 1, // Minimum length before @
4141
maxLength = 254, // Maximum total length (RFC 5321)
4242
strict = false // Stricter validation
4343
} = options;

0 commit comments

Comments
 (0)