Login with enter

This commit is contained in:
Kekskurse 2019-12-02 14:25:50 +01:00
parent 71e64815ef
commit 97be00a3b6

View file

@ -12,12 +12,14 @@
label="Username" label="Username"
value="" value=""
v-model="username" v-model="username"
v-on:keyup.enter="login"
></v-text-field> ></v-text-field>
<v-text-field <v-text-field
label="Password" label="Password"
value="" value=""
type="password" type="password"
v-model="password" v-model="password"
v-on:keyup.enter="login"
></v-text-field> ></v-text-field>
<div v-if="recaptcha"><vue-recaptcha @verify="onCaptchaVerified" :sitekey="captchaCode"></vue-recaptcha></div> <div v-if="recaptcha"><vue-recaptcha @verify="onCaptchaVerified" :sitekey="captchaCode"></vue-recaptcha></div>
<v-checkbox <v-checkbox