title: Livewire form submit with multiple wire:model input name
body: <p>How can I let livewire know that a model is a particular modal</p>
  <p>I have this in my livewire component</p>
  <pre><code>public $itemname; 
  public function updateReceivedKg()
  {
    
         $this-&gt;validate([
              'itemname' =&gt; 'required',
          ]);
    dump($this-&gt;itemname)
  
  
  }
  </code></pre>
  <p>On livewire view, I have this</p>
  <pre><code>@foreach($result-&gt;products as $index=&gt;$data)
  
      &lt;form  wire:submit.prevent=&quot;updateReceivedKg()&quot;&gt;
            &lt;div class=&quot;input-group&quot;&gt;
                 &lt;input required  wire:model.defer=&quot;itemname&quot; type=&quot;text&quot; class=&quot;form-control&quot;&gt;
              &lt;span class=&quot;input-group-append&quot;&gt;
                     &lt;button type=&quot;submit&quot; class=&quot;btn btn-sm btn-success&quot;&gt;Update&lt;/button&gt;
                                  &lt;/span&gt;
  
                                 &lt;/div&gt;
      &lt;/form&gt;
                       
  @endforeach
  </code></pre>
  <p>After generating the form, I have about 11 forms. The issue is that livewire always submit the last itemname that was entered. For example, if on the first form, I entered &quot;Mango&quot; and go to another form and enter &quot;Apple&quot;, if I go back to the form which I have already written &quot;Mango&quot; and click the submit (without typing anything) button, if I dump the submitted form and check the itemname, it shows it is the Apple. This is wrong because I submitted the Mango form.</p>
  <p>In normal Laravel, I have no issue with this type of form submission. It will detect which form I submitted.
  Please how can I achieve the same result using Livewire</p>