]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - src/window/PasswordEdit.js
1 Ext
.define('Proxmox.window.PasswordEdit', {
2 extend
: 'Proxmox.window.Edit',
3 alias
: 'proxmoxWindowPasswordEdit',
4 mixins
: ['Proxmox.Mixin.CBind'],
6 subject
: gettext('Password'),
8 url
: '/api2/extjs/access/password',
17 inputType
: 'password',
18 fieldLabel
: gettext('Password'),
23 change
: (field
) => field
.next().validate(),
24 blur
: (field
) => field
.next().validate(),
29 inputType
: 'password',
30 fieldLabel
: gettext('Confirm password'),
31 name
: 'verifypassword',
34 initialPassField
: 'password',