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

master
Araozu 2023-11-10 11:47:43 -05:00
parent d37229aebc
commit eba366997a
1 changed files with 2 additions and 2 deletions

View File

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