]>
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 = [ | |
32314691 DM |
10 | ['', gettext('Default')], |
11 | [1, gettext('Yes')], | |
12 | [0, gettext('No')] | |
aff192e6 DM |
13 | ]; |
14 | ||
15 | me.callParent(); | |
16 | } | |
17 | }); |