Correcting a bug in wifi-select

This commit is contained in:
Félix Aime 2021-02-08 18:35:26 +01:00
parent b0a45f6ef3
commit 50a9eb3a89

View File

@ -19,7 +19,7 @@
</select>
</div>
<div class="form-group">
<input class="form-input" type="password" id="password" v-model="password" :placeholder="$t('wifi-select.wifi_password')" v-on:click="keyboard = (window.config.virtual_keyboard)? true : false">
<input class="form-input" type="password" id="password" v-model="password" :placeholder="$t('wifi-select.wifi_password')" v-on:click="keyboard = (virtual_keyboard)? true : false">
</div>
<div class="form-group">
<button class="btn width-100" :class="[ connecting ? 'loading' : '', success ? 'btn-success' : 'btn-primary', ]" v-on:click="wifi_setup()">{{ btnval }}</button>
@ -71,6 +71,7 @@ export default {
keyboard: false,
input: "",
ssids: [],
virtual_keyboard: window.config.virtual_keyboard,
have_internet: false,
enter_creds: false,
refreshing: false,