F
Filament5mo ago
Jany

How to pass event from livewire component to Form Field Component

I have a Livewire component nested under Form Field, but I cannot find a way to pass event data to form field. Is there any example, how to do it? I am trying On attribute, but neither that or catching event on Livewire element works: @attach="$wire.addToSaveList()" tells, that addToSaveList is undefined.
No description
No description
1 Reply
Jany
JanyOP5mo ago
I did not find a way, but I am trying to use component state instead for two way communication.... .
Want results from more Discord servers?
Add your server