I have a livewire event handler on my resource create and edit pages like this:
This takes the value provided by the livewire function and sets the form component to that value. Works great.
Now I want to do the same thing in a relationmanager on another resource, but apparently relationmanagers don't have $this->data.
Any ideas how I can achieve the same result?
EDIT: Just to clarify, I have to do it this way as $content is obtained from a JS widget that's embedded in the page, not from the rest of the filament form.
Solution:Jump to solution
Ah, got there:
```
#[On('copyToText')]
public function handleCopyToText($content): void...
1 Reply
Solution
Ah, got there: