title: Laravel Livewire, how to send the value of an option tag to wire:model=" category"?
body: <p>I have a select element in cart.blade file like this:</p>
  <pre><code>&lt;select wire:model=&quot;category&quot;&gt;
     @foreach ($categories as $item)
        &lt;option value=&quot;{{$item-&gt;id}}&quot;&gt;{{$item-&gt;name}}&lt;/option&gt;
     @endforeach
  &lt;/select&gt;
  </code></pre>
  <p>and when I selected an item from the list, it will not send the value of the option tag to the category variable in the component (just sends the sorted numbers of selected options starts from 1 to n).</p>
  <p>how to send the value of an option tag to wire:model=&quot; category&quot;?</p>