Select element return null if not changing

What seems to be the problem:

I create new element with select element, but it return null if i dont ‘change’ that select.

Steps to Reproduce:

Submit a form with select element

Are you using the latest version of Livewire:
Do you have any screenshots or code examples:

did you sloved this i ahd same issue

Make default value of your property.

public $select = 1;
<select wire:model="select">
  <option value="1">1</option>
  <option value="2">2</option>

hello brother it display the default value for all the selection
1 for any selection

Can you show me your code?


<select  wire:model="geting">
select category @foreach($category as $c) {{$c->category_en}} | {{$c->category_hin}} @endforeach


public $geting;
public function create(){

did you resolve? i had the same problem.

same problem, how can fix this?