Merge Syntax not being re-evaluated on tab title

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Hi I have merge syntax to conditionally display a value based on a model field value on tab title. When I update the field and click on a save action, I don't see the tab title change. It does display correctly on new page loads. Is that correct?
Photo of jili@heidrick.com

jili@heidrick.com

  • 2,032 Points 2k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Richard Amantia II

Richard Amantia II

  • 754 Points 500 badge 2x thumb
This sounds right. I have a limited knowledge of skuid as I have only been working with it for a few months. But I would guess without rerendering that Merge Syntax it wouldn't know that it has changed, which is why you would see it stay the same, and change on new page loads. 

But if i am incorrect I hope someone corrects me and this works out for you.


Rich
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Good question!

I would check this post out to better understand the issue. See below for the link
(Edited)
Photo of jili@heidrick.com

jili@heidrick.com

  • 2,032 Points 2k badge 2x thumb
Thanks. The link does not work even if I'm signed in on the community.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
I'm sorry. That's my bad. That's our internal link for editing the pages

https://community.skuid.com/skuid/topics/mustache-triple-braces-results-in-components-not-updating-w...
Photo of jili@heidrick.com

jili@heidrick.com

  • 2,032 Points 2k badge 2x thumb

Thanks. I don't use triple braces.

SHOWTHIS{{#$Model.Candidate.data.0.Publish__c}}<span class='published'>(Published)</span>{{/$Model.Candidate.data.0.Publish__c}}

Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
I do think you're right. A tab title won't change immediately or at save, but upon page load. There are things that must wait for saving (see link) but I don't think that the tab titles are "listening" for a change on the page.