Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(ui): select component should not always uses title case

peaklabs-deve1245f49f116
diff --git a/app/View/Components/Forms/Select.php b/app/View/Components/Forms/Select.php
index dd5ba66b7d..86ae866c8f 100644
--- a/app/View/Components/Forms/Select.php
+++ b/app/View/Components/Forms/Select.php
@@ -4,7 +4,6 @@ namespace App\View\Components\Forms;
use Closure;
use Illuminate\Contracts\View\View;
-use Illuminate\Support\Str;
use Illuminate\View\Component;
use Visus\Cuid2\Cuid2;
@@ -36,8 +35,6 @@ class Select extends Component
$this->name = $this->id;
}
- $this->label = Str::title($this->label);
-
return view('components.forms.select');
}
}