F
Filament7mo 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
2 Replies
Jany
JanyOP7mo ago
I did not find a way, but I am trying to use component state instead for two way communication.... .
abiroot
abiroot3d ago
@Jany Were you able to solve this? I'm here for the exacct same problem. I can't seem to trigger events from a blade file of a custom Field component

Did you find this page helpful?