Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

chadhortonwowza's avatar

Update card on detail view after action used to change value

Hello,

I have a card on a record detail page. I also have an action on the detail page to update a "status" value for the record. The card shows the current status of the record.

When the action is performed, it is not updating the value in the card. I do understand why (since the action performs and xhr request which doesn't automatically trigger a refresh / update to the underlying data included in the card data for the view.

How can I make it so that the card does maintain the correct status value for the record even after the action is used that changes the value?

I have included a screenshot here: https://imgur.com/a/g5sDjoM

Sincerely, Chad

0 likes
2 replies
bobbybouwmann's avatar

Mmh I don't think you can at this point...

Maybe you can check for the response of the action and then perform a refresh using JS? Not sure if that is possible, but that sounds like the best solution for that!

bobbybouwmann's avatar

Mmh I don't think you can at this point...

Maybe you can check for the response of the action and then perform a refresh using JS? Not sure if that is possible, but that sounds like the best solution for that!

Please or to participate in this conversation.