title: 'Edit Contact Details',
modal: true,
width: 530,
- height: 300,
+ height: 400,
shadow:true,
minWidth:200,
minHeight:180,
xtype : 'TextField',
width : 300
},
+ country : {
+ xtype: 'ComboBoxArray',
+ xns: Roo.form,
+ fieldLabel : 'Country',
+ hiddenName : 'country_id',
+ name : 'country',
+ width : 300,
+ combo : {
+ xtype: 'ComboBox',
+ xns: Roo.form,
+ allowBlank : true,
+ alwaysQuery : true,
+ displayField : 'title',
+ editable : false,
+ emptyText : "Select Country",
+ fieldLabel : 'Journalist',
+ 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',
+ inputType: 'password', // << if comment out this input type, it should be ok
xtype : 'SecurePass',
- autoCreate : {tag: "input", type: "text", size: "20"},
width : 220,
imageRoot : rootURL + '/Pman/templates/images'
},
fieldLabel : "Password (type again to confirm)",
value : '',
allowBlank : true, // must be filled in as we rely on it for login details..
- inputType: 'password',
+ inputType: 'password', // << if comment out this input type, it should be ok
xtype : 'TextField',
width : 220
},