]>
Commit | Line | Data |
---|---|---|
aff192e6 DM |
1 | // boolean type including 'Default' (delete property from file) |
2 | Ext.define('PVE.form.Boolean', { | |
3 | extend: 'PVE.form.KVComboBox', | |
4 | alias: ['widget.booleanfield'], | |
5 | ||
6 | initComponent: function() { | |
7 | var me = this; | |
8 | ||
9 | me.data = [ | |
10 | ['', 'Default'], | |
11 | [1, 'Yes'], | |
12 | [0, 'No'] | |
13 | ]; | |
14 | ||
15 | me.callParent(); | |
16 | } | |
17 | }); |