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">
|
||||
<select @change="onGDCSelected" v-model="gdc" name="name">
|
||||
<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' : '')">
|
||||
</option>
|
||||
</select>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="select">
|
||||
<select @change="onRegionSelected" v-model="region">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
Contraseña incorrecta, intentalo nuevamente.
|
||||
</div>
|
||||
@enderror
|
||||
<region-select admin="true"></region-select>
|
||||
<region-select v-bind:admin="true"></region-select>
|
||||
<form method="post" action="login">
|
||||
@csrf
|
||||
<barrio-select admin="true"></barrio-select>
|
||||
<barrio-select v-bind:admin="true"></barrio-select>
|
||||
<login-admin></login-admin>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue