In mount() function of livewire component I have a collection, whick looks like this:
$this->products = $purchase->getProductsList();
getProductsList() is a function of Purchase model:
public function getProductsList() : Collection
{
$products = $this->purchaseSkus->pluck('sku.product')->unique();
return $products;
}
Whenever component's blade is rendered - it works ok
But in the same blade I have a textarea with wire:model="description" and function updatedDescription() in component. And after making changes in textarea $products turns into array
How can I prevent it?
P.S.: If I put $this->products into render() function - it works ok too.

