#wire:init not running method?

4 messages · Page 1 of 1 (latest)

heady cove
#

Im doing something like html <x-side-nav.section tab="documents"> <livewire:property.documents-table :propertyId="$propertyId" wire:init="launchEditModal()" /> </x-side-nav.section> and then have ```php
public function launchEditModal(): void
{
ray('launchEditModal')->orange()->label('DocumentsTable');
}

#

Its a child component if that makes a difference

#

so the init would be running on the parent component, not the child

#

Hmm, moving the launchEditModal() to the parent component didnt seem to make a difference