fix(ui): select component should not always uses title case
This commit is contained in:
@@ -4,7 +4,6 @@ namespace App\View\Components\Forms;
|
|||||||
|
|
||||||
use Closure;
|
use Closure;
|
||||||
use Illuminate\Contracts\View\View;
|
use Illuminate\Contracts\View\View;
|
||||||
use Illuminate\Support\Str;
|
|
||||||
use Illuminate\View\Component;
|
use Illuminate\View\Component;
|
||||||
use Visus\Cuid2\Cuid2;
|
use Visus\Cuid2\Cuid2;
|
||||||
|
|
||||||
@@ -36,8 +35,6 @@ class Select extends Component
|
|||||||
$this->name = $this->id;
|
$this->name = $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->label = Str::title($this->label);
|
|
||||||
|
|
||||||
return view('components.forms.select');
|
return view('components.forms.select');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user