# Select
# Code
<x-laratify-select
name="option"
label="Option Label:"
first-option="Select your option"
:options="[1 => 'option1', 2 => 'option2']"
:value="old('option', $data->option ?? '')"
>
</x-laratify-select>
options array types
if the options are an associative array, the keys are used as the labels and the values as the values. For sequential arrays, the values are used for both the labels and values.
options with sequential array
:options="['option1', 'option2', 'option3']"
options with associate array
::options="[1 => 'option1', 2 => 'option2']"