mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
setting button passwort change disable
This commit is contained in:
parent
530dca224a
commit
0742b9f604
@ -31,7 +31,12 @@
|
||||
<b-row class="text-right">
|
||||
<b-col>
|
||||
<div class="text-right">
|
||||
<b-button type="submit" variant="primary" class="mt-4">
|
||||
<b-button
|
||||
type="submit"
|
||||
:variant="!disabled ? 'light' : 'success'"
|
||||
class="mt-4"
|
||||
:disabled="!disabled"
|
||||
>
|
||||
{{ $t('form.save') }}
|
||||
</b-button>
|
||||
</div>
|
||||
@ -92,6 +97,11 @@ export default {
|
||||
})
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
disabled: function () {
|
||||
return this.form.newPassword.password === this.form.newPassword.passwordRepeat
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user