editicon: false,
// element that contains real text value.. (when hidden is used..)
- shadowNameEl : undefined,
-
+
// private
onRender : function(ct, position){
Roo.form.ComboBox.superclass.onRender.call(this, ct, position);
this.value !== undefined ? this.value : '';
// prevent input submission
- //if (this.hiddenName == this.name) {
this.el.dom.removeAttribute('name');
- this.shadowNameEl = this.el.insertSibling({tag:'input', type:'hidden', name: this.name}, 'before', true);
-
-
- //}
+
+
}
if(Roo.isGecko){
this.el.dom.setAttribute('autocomplete', 'off');
if(this.el.dom.value.length > 0){
this.el.dom.value =
this.lastSelectionText === undefined ? '' : this.lastSelectionText;
- this.shadowNameEl ? (this.shadowNameEl.dom.value = this.el.dom.value) : false;
this.applyEmptyText();
}
},