mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-02-14 01:57:44 +03:00
16 lines
280 B
JavaScript
16 lines
280 B
JavaScript
Ext.define('PrefixField', {
|
|
extend: 'Ext.form.field.Text',
|
|
alias: 'widget.prefixfield',
|
|
|
|
maxLength: 6,
|
|
allowBlank: false,
|
|
|
|
maskRe: /([A-Za-z]+)$/,
|
|
|
|
listeners: {
|
|
change: function(field) {
|
|
field.setValue(field.getValue().toUpperCase());
|
|
},
|
|
},
|
|
});
|