Arreglado error de booleanos pasados como string y warning de keys
This commit is contained in:
parent
69b244d074
commit
4906d2bb4d
|
@ -6,7 +6,7 @@
|
||||||
<div class="select">
|
<div class="select">
|
||||||
<select @change="onGDCSelected" v-model="gdc" name="name">
|
<select @change="onGDCSelected" v-model="gdc" name="name">
|
||||||
<option :disabled="isDefaultDisabled==1" value=null>Seleccionar</option>
|
<option :disabled="isDefaultDisabled==1" value=null>Seleccionar</option>
|
||||||
<option v-for="gdc in gdcs" v-text="gdc.nombre + (isAdmin ? '_admin' : '')"
|
<option v-for="(gdc, index) in gdcs" :key="index" v-text="gdc.nombre + (isAdmin ? '_admin' : '')"
|
||||||
:name="gdc.nombre + (isAdmin ? '_admin' : '')">
|
:name="gdc.nombre + (isAdmin ? '_admin' : '')">
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="select">
|
<div class="select">
|
||||||
<select @change="onRegionSelected" v-model="region">
|
<select @change="onRegionSelected" v-model="region">
|
||||||
<option :disabled="isDefaultDisabled===1" value=null>Seleccionar</option>
|
<option :disabled="isDefaultDisabled===1" value=null>Seleccionar</option>
|
||||||
<option v-for="region in regiones" v-text="region" :name="region"></option>
|
<option v-for="(region, index) in regiones" :key="index" v-text="region" :name="region"></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
Contraseña incorrecta, intentalo nuevamente.
|
Contraseña incorrecta, intentalo nuevamente.
|
||||||
</div>
|
</div>
|
||||||
@enderror
|
@enderror
|
||||||
<region-select admin="true"></region-select>
|
<region-select v-bind:admin="true"></region-select>
|
||||||
<form method="post" action="login">
|
<form method="post" action="login">
|
||||||
@csrf
|
@csrf
|
||||||
<barrio-select admin="true"></barrio-select>
|
<barrio-select v-bind:admin="true"></barrio-select>
|
||||||
<login-admin></login-admin>
|
<login-admin></login-admin>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue