Change Search.tsx to allow pasting dnis with length >= 8
This commit is contained in:
parent
d37229aebc
commit
eba366997a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user