diff --git a/app/View/Components/Inputs/Select.php b/app/View/Components/Inputs/Select.php
index d0aa996..0f26a23 100644
--- a/app/View/Components/Inputs/Select.php
+++ b/app/View/Components/Inputs/Select.php
@@ -8,17 +8,17 @@ use Illuminate\View\Component;
class Select extends Component
{
- public Collection $options;
+ public Collection|array $options;
public ?string $selectedValue;
/**
* Select constructor.
*
- * @param \Illuminate\Support\Collection $options
+ * @param \Illuminate\Support\Collection|array $options
* @param ?string $selectedValue
*/
public function __construct(
- Collection $options,
+ Collection|array $options,
?string $selectedValue = '',
) {
$this->options = $options;
diff --git a/resources/views/components/inputs/select-options.blade.php b/resources/views/components/inputs/select-options.blade.php
new file mode 100644
index 0000000..5759f68
--- /dev/null
+++ b/resources/views/components/inputs/select-options.blade.php
@@ -0,0 +1,13 @@
+@foreach ($options as $option)
+ @if(is_iterable($option['value']))
+
+ @else
+
+ @endif
+@endforeach
diff --git a/resources/views/components/inputs/select.blade.php b/resources/views/components/inputs/select.blade.php
index e4f481e..5b9e250 100644
--- a/resources/views/components/inputs/select.blade.php
+++ b/resources/views/components/inputs/select.blade.php
@@ -1,9 +1,4 @@