548b29644d
we used a custom 'data' property to pass around the items to add to the store, but this property is now used by ExtJS to store content for the component template also move to declarative style, saves lines
11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
// boolean type including 'Default' (delete property from file)
|
|
Ext.define('PVE.form.Boolean', {
|
|
extend: 'PVE.form.KVComboBox',
|
|
alias: ['widget.booleanfield'],
|
|
comboItems: [
|
|
['__default__', gettext('Default')],
|
|
[1, gettext('Yes')],
|
|
[0, gettext('No')]
|
|
]
|
|
});
|