+ countries : {
+ xtype: 'ComboBoxArray',
+ xns: Roo.form,
+ fieldLabel : 'Country',
+ hiddenName : 'countries',
+ name : 'countries_name',
+ width : 300,
+ combo : {
+ xtype: 'ComboBox',
+ xns: Roo.form,
+ allowBlank : true,
+ alwaysQuery : true,
+ displayField : 'title',
+ editable : false,
+ emptyText : "Select Country",
+ forceSelection : true,
+ idField : 'id',
+ triggerAction : 'all',
+ typeAhead : true,
+ valueField : 'code',
+ width : 280,
+ store : {
+ xtype: 'SimpleStore',
+ xns: Roo.data,
+ data : (function() {
+ return Pman.I18n.simpleStoreData('c');
+ })(),
+ fields : [ 'code', 'title' ]
+ }
+ }
+ },
+ passwd1 : {
+ name : 'passwd1',
+ fieldLabel : "New Password ",
+ value : '',
+ allowBlank : true, // must be filled in as we rely on it for login details..
+ inputType: 'password', // << if comment out this input type, it should be ok
+ xtype : 'SecurePass',
+ width : 220,
+ imageRoot : rootURL + '/Pman/templates/images'
+ },