// add to list
});
+
if (!this.hiddenListName && this.hiddenName) {
this.hiddenListName = this.hiddenName + '-list';
}
onRender : function(ct, position)
{
-
+
+ this.hiddenListName = this.hiddenName;
+ this.hiddenName += '-lastselected';
+
Roo.form.ComboBoxArray.superclass.onRender.call(this, ct, position);
this.wrap.addClass('x-cbarray-grp');
var cbwrap = this.wrap.createChild(
this.el.dom
);
- if (this.hiddenListName) {
- this.hiddenEl = this.wrap.createChild({
- tag: 'input', type:'hidden' , name: this.hiddenListName, value : ''
- });
+ this.hiddenEl = this.wrap.createChild({
+ tag: 'input', type:'hidden' , name: this.hiddenListName, value : ''
+ });
// this.el.dom.removeAttribute("name");
- }
+
this.outerWrap = this.wrap;
this.wrap = cbwrap;