feat: Refactor setType method to use slug value for type
This commit is contained in:
@@ -257,7 +257,6 @@ class Select extends Component
|
||||
public function setType(string $type)
|
||||
{
|
||||
$type = str($type)->lower()->slug()->value();
|
||||
ray('type', $type);
|
||||
if ($this->loading) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user