mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +01:00
Improved password change form & fixed typo
This commit is contained in:
parent
e2ee18a5e7
commit
c319d1fc33
@ -13,7 +13,10 @@
|
||||
<v-text-field
|
||||
v-model="item.password"
|
||||
label="Password"
|
||||
:rules="[v => !!v || 'Email is required']"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
:append-icon="showPassword ? 'mdi-eye' : 'mdi-eye-off'"
|
||||
@click:append="showPassword = !showPassword"
|
||||
:rules="[v => !!v || 'Password is required']"
|
||||
required
|
||||
:disabled="formSaving"
|
||||
></v-text-field>
|
||||
@ -25,6 +28,12 @@ import ItemFormBase from '@/components/ItemFormBase';
|
||||
export default {
|
||||
mixins: [ItemFormBase],
|
||||
|
||||
data() {
|
||||
return {
|
||||
showPassword: false,
|
||||
};
|
||||
},
|
||||
|
||||
methods: {
|
||||
async loadData() {
|
||||
this.item = {};
|
||||
|
Loading…
Reference in New Issue
Block a user