I have a wire:model called public $reasons = array();
And I want to fill that wire:model with data from array of inputs.
Let’s say I want to loop over from array of $reasons_arr to generate array of inputs(holding each value from loop) and put it in $reasons. I tried with wire:model=“reasons” but field gets empty, and also tried wire:model=“reasons” input fields displays the values but if I diedump over $reasons, I get an empty array.
Hope you could help me with this.