Merge branch 'email-input-size' of WrenchBoard/Users-Wrench into master

This commit is contained in:
2023-07-26 14:26:05 +00:00
committed by Gogs
@@ -22,7 +22,7 @@ export default function InputCom({
spanTag,
inputBg,
onInput,
maxLength = 30,
maxLength = 45,
minLength = 0,
direction,
error,
@@ -124,7 +124,7 @@ export default function InputCom({
}
const inputConfigs = {
email: { minLength: 7, maxLength: 35 },
email: { minLength: 7, maxLength: 45 },
first_name: { minLength: 3, maxLength: 25, pattern: "[a-zA-Z]+" },
last_name: { minLength: 3, maxLength: 25, pattern: "[a-zA-Z]+" },
address: { minLength: 5, maxLength: 49, pattern: "[a-zA-Z0-9]+" },