mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
forgot password submit add disabled
This commit is contained in:
parent
a9bd9c1d1d
commit
d8cabca2b4
@ -5,7 +5,7 @@
|
|||||||
<div class="pb-5">{{ $t('site.forgotPassword.heading') }}</div>
|
<div class="pb-5">{{ $t('site.forgotPassword.heading') }}</div>
|
||||||
<b-row class="justify-content-center">
|
<b-row class="justify-content-center">
|
||||||
<b-col>
|
<b-col>
|
||||||
<validation-observer ref="observer" v-slot="{ handleSubmit }">
|
<validation-observer ref="observer" v-slot="{ handleSubmit, valid }">
|
||||||
<b-form role="form" @submit.prevent="handleSubmit(onSubmit)">
|
<b-form role="form" @submit.prevent="handleSubmit(onSubmit)">
|
||||||
<input-email
|
<input-email
|
||||||
v-model="form.email"
|
v-model="form.email"
|
||||||
@ -15,7 +15,7 @@
|
|||||||
></input-email>
|
></input-email>
|
||||||
<b-row>
|
<b-row>
|
||||||
<b-col cols="12" lg="6">
|
<b-col cols="12" lg="6">
|
||||||
<b-button type="submit" variant="gradido" block>
|
<b-button type="submit" :variant="valid ? 'gradido' : 'gradido-disable'" block :disabled="!valid">
|
||||||
{{ $t('settings.password.send_now') }}
|
{{ $t('settings.password.send_now') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
</b-col>
|
</b-col>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user