public function hasPostValue() { if ($this->uploadedFile()) { return true; } return parent::hasPostValue(); }