/** * Reset form field attributes which needed to change after changing Form object to which this field belongs. * * @access protected * @return $this * @since 1.0.0-alpha * @version 1.0.0-alpha */ protected function resetAllNeededAttributes() { parent::resetAllNeededAttributes(); $this->getFormObject()->addEnctype(); return $this; }