mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-24 23:20:49 +00:00
18 lines
320 B
JavaScript
18 lines
320 B
JavaScript
// boolean type including 'Default' (delete property from file)
|
|
Ext.define('PVE.form.Boolean', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.booleanfield'],
|
|
|
|
initComponent: function() {
|
|
var me = this;
|
|
|
|
me.data = [
|
|
['', 'Default'],
|
|
[1, 'Yes'],
|
|
[0, 'No']
|
|
];
|
|
|
|
me.callParent();
|
|
}
|
|
});
|