protected function _createInput($type = 'text', $attributeArray = [])
{
if (is_array($attributeArray)) {
$attributeArray = array_merge($this->_attributeArray['input'][$type], $attributeArray);
} else {
$attributeArray = $this->_attributeArray['input'][$type];
}
$inputElement = new Element();
$inputElement->init('input', $attributeArray);
$this->append($inputElement);
return $this;
}