Refresh form Select component via Section headerAction (inside Resource file)
I've been attempting and failing to refresh a
Any pointers would be gratefully received.
Select
component after calling an approve()
method on a Review
model, which sets a model attribute called review_status_id
to ReviewStatus::Approved
(an enum case) and saves the record. This is all within the ReviewResource
file. If I refresh the browser, I see the updated status, but I'd like the Select
component automatically display the new status as the selected option. I'm sure this is easy to achieve, but unfortunately my knowledge of Livewire is somewhat limited at the moment.Any pointers would be gratefully received.
0 Replies