My component has an array property that gets updated based on changes to a text-input.
<input wire:model="search" type="text"
class="shadow" placeholder="Search" />
@foreach ($searchResults as $type => $result)
<a wire:click="signupUser({{ $result->searchable }})">
{{ $result->searchable->name }}
</a>
@endforeach
However, the wire:click action does not fire. It fires if I assign the action to an element that exists on initial render, so I’m thinking my problem is that the wire:click is assigned after the wire:model=“search” updates. How do you all handle this? Are we just not supposed to assign Livewire actions to dynamically rendered elements?
My version is : “livewire/livewire”: “^0.7.2”,