(field.min = parseInt(e.target.value, 10))} />
(field.max = parseInt(e.target.value, 10))} />

Ex. {"^[a-z0-9]+$"}

Ex. {"[a-z0-9]{30}"}