Skip to content

Commit a725a6e

Browse files
committed
feat: update setType method to use slug value for type
1 parent 3b3362d commit a725a6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Livewire/Project/New/Select.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ public function instantSave()
256256

257257
public function setType(string $type)
258258
{
259-
$type = str($type)->lower()->value();
259+
$type = str($type)->lower()->slug()->value();
260+
ray('type', $type);
260261
if ($this->loading) {
261262
return;
262263
}

0 commit comments

Comments
 (0)