cambiar tipo de input de telefono a "tel"

This commit is contained in:
Eduardo Quiros 2022-07-22 02:13:19 -06:00
parent 85ebb3d33b
commit 6986c3da18
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ const AdministradoresSistema = () => {
</div>
<div className="field col-12">
<label htmlFor="telefono">Teléfono</label>
<InputText id="telefono" type="number" rows="4" />
<InputText type="tel" id="telefono" pattern="[0-9]{8}"/>
</div>
<Button label="Registrar" onClick={registrarAdmin}></Button>
</div>