laravel-popper icon indicating copy to clipboard operation
laravel-popper copied to clipboard

Dynamic content inside a loop not working when data changes

Open Hesesses opened this issue 1 year ago • 1 comments

Hello

I have a livewire page with filters and it loops items on the page.

Everything works fine but when I change filters and the items change, popper will not change the popper text even the content changes. The markup on html is correct and changes, but for somereason it displays the "old content"

Code to show popper: <div @popper({{ $event['short_info'] }}) class="text-xs whitespace-nowrap">{{ $event['name'] }}</div>

Any ideas how to fix this?

Hesesses avatar Jan 19 '23 13:01 Hesesses