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.

feat: update setType method to use slug value for type

Andras Bacsaia725a6eaf24d
diff --git a/app/Livewire/Project/New/Select.php b/app/Livewire/Project/New/Select.php
index b44844a95d..2f66e7cc84 100644
--- a/app/Livewire/Project/New/Select.php
+++ b/app/Livewire/Project/New/Select.php
@@ -256,7 +256,8 @@ class Select extends Component
public function setType(string $type)
{
- $type = str($type)->lower()->value();
+ $type = str($type)->lower()->slug()->value();
+ ray('type', $type);
if ($this->loading) {
return;
}