public function getHtmlAttributes() { if (Mage::getStoreConfigFlag('udropship/vendor/autocomplete_htmlselect')) { return array('type', 'title', 'class', 'style', 'onclick', 'onchange', 'onkeyup', 'disabled', 'readonly', 'maxlength', 'tabindex'); } else { return parent::getHtmlAttributes(); } }