Refresh hint visibility after $set()

I have a hint that is conditionally visible. After setting a value in the hint action, the hint should be hidden again, but it only works after pressing the button twice. The reason is, that after calling $set(), the hintAction is apparently called before the value is updated, such that $get() will return the previous value. How can I get the correct (newly set) value inside the callback such that it returns null correctly?
No description
2 Replies
Martin Lakrids
Martin LakridsOP6mo ago
Unfortunately, I still cannot fix this error by myself. I have thought about, maybe there is some possibility to call "refresh!" on the Livewire component (the TextInput) inside the hintAction or something else. Any suggestions?
toeknee
toeknee6mo ago
You likely haven't mounted the form I asume this is outside the admin panel?
Want results from more Discord servers?
Add your server