diff --git a/src/Inputs/UploadInput.php b/src/Inputs/UploadInput.php index b524300..1647c38 100644 --- a/src/Inputs/UploadInput.php +++ b/src/Inputs/UploadInput.php @@ -53,12 +53,6 @@ public function getControl() $el = Html::el('div', ['class' => [BootstrapForm::getBootstrapVersion() === BootstrapVersion::V5 ? null : 'custom-file']]); $el->addHtml($control); - $el->addHtml( - Html::el('label', [ - 'class' => [BootstrapForm::getBootstrapVersion() === BootstrapVersion::V5 ? 'form-label' : 'custom-file-label'], - 'for' => $this->getHtmlId(), - ])->setText($this->buttonCaption) - ); return $el; }