I don't understand how I can refresh a field
I want to use a HintAction on a field and refresh another.
with a codebase like this :
5 Replies
you use set, but the problem you have is you are trying to set in a contained action I think you want to call the $livewire get parent record in the action. Then set on that.
Thanks, but I don't understand 🧐
Actually looking at
https://filamentphp.com/docs/3.x/forms/actions
hintActions are not contained. so you should be able to do:
$set('ia_description',$text);
Can you try changing richeditor to textarea... I am wondering if the editor is not picking up the set
it's the same 😦 I don't understand how I can use $set properly
It's ok, if I do this (on the same field) :
Interesting, so there must be a container somewhere. I suspect teleport is being used. I'd need to check the source but don't have time. I would just do that then? But render the ID Content in a form model when the action is clicked? and the on submit the action gets the data and sets it?