#6656 addUserSignIn #18
|
@ -12,7 +12,7 @@ function setEvents() {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: 'Iniciar sesión',
|
title: 'Iniciar sesión',
|
||||||
html:
|
html:
|
||||||
`<input id="user" class="swal2-input" type="text" placeholder="Usuario" value="${localStorage.getItem('user') ?? ""}">
|
`<input id="user" class="swal2-input" type="text" placeholder="Usuario" value="${localStorage.getItem('user') ?? ''}">
|
||||||
|
|||||||
<input id="pass" class="swal2-input" type="password" placeholder="Contraseña">`,
|
<input id="pass" class="swal2-input" type="password" placeholder="Contraseña">`,
|
||||||
confirmButtonText: 'Login',
|
confirmButtonText: 'Login',
|
||||||
showCloseButton: true,
|
showCloseButton: true,
|
||||||
|
|
Loading…
Reference in New Issue
Si no pongo esto , muestra null