Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- xtype: 'combo',
- valueField: 'value',
- displayField: 'text',
- triggerAction: 'all',
- editable: true,
- // forceSelection: true,
- resizable: true,
- allowBlank: false,
- mode: 'local',
- itemId: 'BoolAttributesYesLabel',
- fieldLabel:Wes.core().applyLabel('BooleanYesLabel', 'Boolean true label'),
- name:'BoolAttributesYesLabel',
- store: new Ext.data.ArrayStore({
- idIndex: 0,
- fields: [
- { name: 'value', type: 'int' },
- { name: 'text', type: 'string' }
- ],
- data: [
- ['0', Wes.core().applyLabel('Yes', 'Yes')],
- ['1', Wes.core().applyLabel('True', 'True')],
- ['2', '1']
- ]
- })
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement