Change Search.tsx to allow pasting dnis with length >= 8

This commit is contained in:
Araozu 2023-11-10 11:47:43 -05:00
parent d37229aebc
commit eba366997a

View File

@ -159,8 +159,8 @@ function InputBox(props: {
disabled:opacity-50 disabled:cursor-not-allowed" disabled:opacity-50 disabled:cursor-not-allowed"
type="text" type="text"
minLength={8} minLength={8}
maxLength={8} maxLength={15}
pattern="[0-9]{8}" pattern="[0-9]{8,15}"
placeholder="Número de DNI" placeholder="Número de DNI"
value={props.value} value={props.value}
required required