mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat: update setType method to use slug value for type
This commit is contained in:
1 parent
3b3362daf0
commit
a725a6eaf2
1 file changed
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user